> I read the resizable group manual
> http://www.fltk.org/documentation.php/doc-1.3/Fl_Group.html#Fl_Group.resizable
> but this seems to be not sufficient for some designs.
> 
> How to do following design:
> Three panels, A, B, C.
> Each panel use 100% of height.
> And width is divided between them equaly.
> 
> *but* I want 5 pixel spacing between panels and the window, and
> inside between panels.

Then you will probably need to derive a subclass of Fl_Group (or Window)
and overide its resize() method to do what you want.

Greg has an example where he overrides the resize of Fl_Scroll
rather than Fl_Group, but this might be enough to get you started.
http://seriss.com/people/erco/fltk/#ScrollableWidgetBrowser

D.

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

Reply via email to