flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yishayw <yishayj...@hotmail.com>
Subject Re: [FlexJS] Layouts
Date Tue, 25 Apr 2017 13:06:31 GMT
Peter Ent wrote
> I first encourage you to base any new components on Group and then add in
> BasicLayout. Nothing will happen until you dispatch a layout needed event.
> You should be able to add multiple children and then dispatch the event.

That's what I'm doing right now.


> We could also make a specialized Group subclass that has a 
> positionElement(element, x, y) function that will also set 
> position:absolute. Perhaps we could call it "BasicGroup" that would also 
> make BasicLayout its default but you would not necessarily need to run the 
> layout every time. 

That's not a bad idea, but again I'm curious about what we'll do for
components that are not based off group or container. Also, what would the
flash behavior be? AFAIK x and y in flash act like absolute in HTML, even
without layout.




--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Layouts-tp61120p61332.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Mime
View raw message