> I tried a first project using fluid, put a MenuBar with some menus
> into a resizable DoubleWindow and compiled all the stuff (VC9).
> When resizing the window in vertical direction, the menuBar is
> resizing too - not very useful. Why is this and how to avoid it?

I suppose you have something like:

MainWindow:
+-------------------+
| MenuBar:          |
+-------------------+
| DrawingArea:      |
|                   |
+-------------------+


and all you have done is made MainWindow resizable. That means that
MenuBar and DrawingArea will try to maintain the relative sizes as
you resize MainWindow, which is not what you want.

If you also make DrawingArea resizable, when you resize MainWindow
all of the vertical change will be taken up by DrawingArea and the
MenuBar height should remain unchanged,

See 
http://www.fltk.org/documentation.php/doc-1.1/Fl_Group.html#Fl_Group.resizable

or Article #415: How does resizing work?
http://www.fltk.org/articles.php?L415+I0+T+P1+Qresizable

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

Reply via email to