On 25.02.2011, at 18:12, Sam wrote:

> Another problem but this should be easy. I have a class that controls 3 
> widgets. I want 2 widgets to stack horizontally and the third vertically. 
> Like this:
> 
> 1 2
> 3
> 
> I've tried grouping and type(Fl_Somewidget::HORIZONTAL or VERTICAL) but to no 
> avail.

Just position them wherever you like. 

FLTK has only one container that autopositions its children. It's Fl_Pack and 
packs widgets horizontally or vertically, depending on the flag you mention. In 
your case, you would need a Pack in a Pack in a Window. But as I said, just 
position them with hard coded coordinates, or use FLUID.

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

Reply via email to