> The fastest way is to derive your own group and override the default
> resize method:
>
> class myGroup: public Fl_Group
> {
> public:
>
> myGroup(int X, int Y, int W, int H,const char*
> L=""):Fl_Group(X,Y,W,H,L) {}
>
> void resize(int X, int Y, int W, int H)
> { // first resize as usual
> Fl_Group::resize(X,Y,W,H);
> // now make sure that the console is not smaller than the minimal
> // height by resizing tree and viewer accordingly
> if (...) {...}
> }
> };
>
> That should do the trick.
>
> Cheers, Herman
Awesome - a slight variation on that override proved to be what I needed. Thank
you!
The same approach also lets me get the behavior I wanted on the Fl_Tile widget.
Cheers,
CY
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk