Relative Positioning
At totalcross, we have two layouts ready to help you set up your application: HBox and VBox. These layouts can be described as 2 boxes where you "stack" your components, be it with a certain space between them or just simply really stacked. Both these layouts are extensions of the LinearBox class. To use them is pretty simple, all you ned to do is instantiate one of them, set its mode and add your components inside.
Hbox
This layout will group your components horizontally,
Vbox
This layout will group your controllers vertically
Attributes
Methods
Last updated