See the red thick lines and "spring" lines:
-- The thick lines means that that side of the control is attached to that side of the main frame
-- The "spring means that that side of the control is not attached.
Just open a example and play with it. It is very easy and useful.
- In the code
If you want to do it "the hard way" in the code, is very easy too as layout are translated into code with functions like LeftPosZ and so.
Anyway you can go to the GUI Tutorial section 16. Layouts where you can see examples and explanations.
There are more advanced features if you want fancier resizing but I think for now this enough .
lectus Messages: 329 Registered: September 2006 Location: Brazil
Senior Member
Thank you for your post! I now understand it!
U++ never fails to amaze me. It was actually pretty simple.
I just set Sizeable().Zoomable() and adjust the springs at the layout editor.
I just needed some explanation like yours to know where to look at.
U++ never fails to amaze me. It was actually pretty simple.
I just set Sizeable().Zoomable() and adjust the springs at the layout editor.
I just needed some explanation like yours to know where to look at.
Hello Lectus
U++ Forum always love to help .
Anyway if you need to start with the steepest learning curve you can try U++ Tutoring Plan.