On 12.03.2008, at 18:32, pushparaj muthu wrote:
> How to maintain value of the box widget x, y, width, height if box is
> present given below scenario
>
> Window -> group -> tab-> box
>
> What is the right approach to maintain x, y width, height of boxwidget


Make the window non-resizable?

Widgets maintain position and size if your window is fixed in size as  
well. If you do want your window to be resizable, you have to come up  
with a resizing strategy which involves correct grouping. Search the  
articles for "resizing". I wrote a long article on this.

Oh, and btw, the hierarchy up there is probably wrong. Fl_Tabs usually  
contain multiple Fl_Group widgets which determine the size and title  
of the tabs. Those groups then contain buttons etc. . Please look at  
the sample programms in the "test" directory.

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to