yixiaohui12345 / mad-components

Automatically exported from code.google.com/p/mad-components
1 stars 0 forks source link

UILabel and UIPages details #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
UILabel.fixWidth should remove autoSize.

I think UIPages.STEPS should be an instance property, changing it after 
creating some UIPages instance causes undesired behavior. Also, although the 
previousPage() method is memory-efficient, I find it to be a bit useless, I'd 
say most people prefer something more along the lines of a stack, and Flex 
Navigator.popView method.

Original issue reported on code.google.com by neverbi...@gmail.com on 29 Jun 2012 at 10:04

GoogleCodeExporter commented 9 years ago
UIPages.STEPS is intended to be changed ONCE.  Before UI.create().

A UIPageStack sounds like a good idea.  I'll think about it more when I make 
MadComponents-Stage 3D.

Original comment by doc.andr...@gmail.com on 12 Jul 2012 at 11:42

GoogleCodeExporter commented 9 years ago
On the app I'm making in order to try MadComponents for the first time, some 
pages can be reached from others with no explicit order, so previousPage isn't 
of help. Another problem I've faced is that I'd like a view to be called 
several consecutive times, with some content changing each time, but it seems 
to be not possible (didn't delve much into this), in Flex it is possible since 
the pushView method is always making a new instance of the view class.

Original comment by neverbi...@gmail.com on 12 Jul 2012 at 4:24