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 » automatically resizing widgets in tabs?
Re: automatically resizing widgets in tabs? [message #9890 is a reply to message #9889] Wed, 06 June 2007 16:58 Go to previous messageGo to previous message
Zardos is currently offline  Zardos
Messages: 62
Registered: April 2007
Member
antialias wrote on Wed, 06 June 2007 16:41

Hi, I'm a
Here's my question:
I have created a tabbed layout with a user defined drawing area (and a bunch of other controls in their own layout) on one tab.
I would like to resize this drawing area to the maximum space available whenever the user resizes the top window. so far I have been unable to do this (the 'springs' in the layout editor don't seem to do anything) . The drawing area just won't expand/shrink beyond the size I give it in the layout editor.


Make sure you call SizePos() with the dialogs you use inside the tabs. Like:
tabs.Add(aDlg1.SizePos(), t_("Tab 1"));
tabs.Add(aDlg2.SizePos(), t_("Tab 2"));
tabs.Add(aDlg3.SizePos(), t_("Tab 3"));


- Ralf
 
Read Message
Read Message
Read Message
Previous Topic: Linux Suse 10.2 build problem
Next Topic: missing cast
Goto Forum:
  


Current Time: Fri Jun 07 02:39:58 CEST 2024

Total time taken to generate the page: 0.01449 seconds