Hi again:
here's the new question.
I have a similar object as described previously but more complex: a Tabs 
widget in which I use a class derived from Group as the object in a tab.
In this case I want to dynamically add another group, if you think of an 
audio mixer that's the closest idea; each group has a number of controls 
organized in a vertical strip. But, the user is supposed to be able to 
add extra groups, so far just by clicking the addSliders button.

Therefore, I created a Pack (HORIZONTAL) inside a Scroll as part of the 
TrackTab object that goes into the Tabs. Then I created another derived 
class MySlider, derived from Pack (VERTICAL), which contains a few 
controls. When the addSlider button is clicked, the callback creates new 
object of type MySlider and adds it to the Pack in the TrackTab.

The troulbe is, the MySlider controls keep extending outside the TrackTab 
Scroll. Making one of the members of MySlider (e.g. Value_Slider pitch) 
be 'resizable' just seem to make things worse, then the octave slider is 
ALWAYS outside the scroller no matter how much the window is resized! I 
was expecting the MySlider to get resized by the TracTab Pack to fit, but 
it seems like its child objects are resizing to some other object that I 
don't understand.

Many Thnaks!

Screen shots at 
http://www.geocities.com/robertcarlatwood/fluidgrab2.jpg
http://www.geocities.com/robertcarlatwood/fluidgrab3.jpg 
(resized window)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to