On Mar 17, 2007, at 3:31 PM, Maximilian Matthé wrote:

> Hi!
>
> I use a fltk::TabGroup in my program, but the tabs are at the  
> bottom of
> the TabGroup. I want them to be on top. How can i get this done?
> Using fltk::TabGroup::align(fltk::ALIGN_TOP) did not work.
> Possibly I could use tab_positions? But there is no documentation for
> this function.

Just leave the space you desire at the top of the children. For example:

new fltk::TabGroup(30, 30, 500, 500);
new fltk::Group(0, 25, 500, 475, "First Tab");

will create a tab that is 25 pixels high at the top
----
http://robowerk.com/


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

Reply via email to