I have a collection of widgets in a GUI, and I want those widgets to be 
resizable "to a point."  The general layout is:

     Menu bar 1                        Menu bar 2
     ___________ _______________________________
    |           |                               |
    |  tree     |     viewer                    |
    |           |                               |
    |___________|_______________________________|
    |                                           |
    |           console (text editor, for now)  |
    |___________________________________________|

The tree, viewer and console are tiled.  When it comes to horizontal resizing, 
I would like the console to be shrunk to some defined minimum height, and any 
further shrinking after the console reaches that minimum height should come out 
of the tree+viewer layer.

So far, I have not been able to figure out a way to get the console window to 
refuse to shrink beyond a certain height.  What is the best way to do this in 
FLTK?  Do constraints like that need to be defined at much lower levels in 
widgets?  (e.g. it should be built into the eventual console widget?)

(Sorry if this is an FAQ - I tried to search but didn't come up with much.)

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

Reply via email to