Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » How do you make the widgets resizable?
Re: How do you make the widgets resizable? [message #34413 is a reply to message #34402] Mon, 21 November 2011 09:18 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Hello Lectus

U++ does it very simple:

- In the Layout Designer

index.php?t=getfile&id=3524&private=0

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 Smile.
  • Attachment: img.PNG
    (Size: 9.50KB, Downloaded 573 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EditField-Style - paper - just black!
Next Topic: Appearance problem with Docking framework
Goto Forum:
  


Current Time: Tue May 14 17:38:47 CEST 2024

Total time taken to generate the page: 0.03548 seconds