Hi all:

I'm using FLTK 1.1.8 with Fluid, and I am having trouble understanding 
how the placement of widgets works especially with a derived class 
widget.

I have a Double_Window containing a Tabs, I defined a class widget 
'importTab', eventualy there should be several similar tabs so a derived 
group class seems a good idea for this project. To simplify, this example 
is a Group containg just one Slider.

I include an 'importTab' in the Tabs, and compile the resulting code. It 
works, but try as I might I cannot understand the placement of the 
resulting Slider. Please see 

http://www.geocities.com/robertcarlatwood

 for a screen shot. I find it a bit hard to describe without the screen 
shot.
 The screen shot includes the two FLUID project builders, two FLUID 
displays at the bottom, one for the master project and one for the 
importTab widget class. The red overlay box seems positioned the way I 
wish in the FLUID project builder, but in the compiled code (upper right) 
the slider appears outside the tab box. If I build a group with a slider 
just inside the main project (not as a class widget) then it goes where I 
want, but the project gets too complicated and as people suggested on 
this group, splitting the widget into a separate .fl file seems like a 
good idea 

What am I missing here? 

Thanks..

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

Reply via email to