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 » Community » Newbie corner » Auto-Resize
Re: Auto-Resize [message #48616 is a reply to message #48615] Wed, 09 August 2017 10:50 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1214
Registered: August 2007
Senior Contributor
Hello,

Yes there are automatic widget resizer methods for Ctrl variants in U++


If you are using layout, you can simply use vertical and/or horizontal spring setters. (rightmost buttons on the layout editor's tool bar.)
If not, you can use Ctrl::SizePos() variants (e.h. HSizePos(), VSizePos() etc.), and their "zoomable" counterparts (HSizePosZ(), VSizePosZ(), etc.)

See: https://www.ultimatepp.org/srcdoc$CtrlLib$Tutorial$en-us.htm l#14 ("More about logical coordinates")

Best regards,
Oblivion


[Updated on: Wed, 09 August 2017 10:55]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Touchscreen and buttons
Next Topic: How to walk the heap?
Goto Forum:
  


Current Time: Sun Jun 29 17:13:12 CEST 2025

Total time taken to generate the page: 0.03563 seconds