I think it makes sense to start the coordinates axis below the titlebar. In
ExtJS they have the concept of docked components such as toolbars and
titles. So I think you can do (I changed syntax to pseudo-mxml)

<container layout="vbox">
    <Button text="10px below titlebar" margin="10 0 0 0"/>
    <label text="I'm right below button because of vbox layout"/>
    <label text="this is the titlebar which is placed at the top"
docked="top"/>
</container>

In other words, docked items override the container's layout and change the
coordinates axis point of origin.



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

Reply via email to