File:Layout.png

From UFO:AI
Jump to navigation Jump to search

Original file(414 × 834 pixels, file size: 49 KB, MIME type: image/png)

Pack layout
Child consume node space one by one according to the there num property value.
Top-down flow layout
We can do the same with the pack layout, but it is more easy to use because we dont need to tag childen, and we can have more direction, for example the current language text direction.
Border layout
Same as pack, but set the position of node with TOP or BOTTOM first, then LEFT or RIGHT, and then FILL. Not sure it is anymore need because if you sort the childen, you can have the same result with the pack layout.
Star layout
Set a point position of childen (for example a corner) into the same point of the node. Usefull for some GUI, like the "HUD" when we dont use the default screen ratio. At the moment, the code is only available for the window behaviour, but the code will be merged.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:12, 1 November 2009Thumbnail for version as of 14:12, 1 November 2009414 × 834 (49 KB)Bayo (talk | contribs)