Ok, it's what I thought. Thanks everybody for your help. David > > On 25.09.2009, at 09:38, MacArthur, Ian (SELEX GALILEO, UK) wrote: > > > > >> Is there any way to have FLTK check position boundaries > >> inside an Fl_Scroll or I have to do it programmatically? > > > > To be honest, I don't think I have understood your question. > > > > However, I don't think Fl_Scroll enforces bounds on its children, so > > you > > will probably need your own sub-class that does. In some way that I > > can't quite think of, off the top of my head... > > Fl_Scroll does exactly the opposite: it adapts to the boundaries of > all widgets inside. You could put a single Group inside the Scroll and > let that group enforce any size restrictions. You would still have to > implement that yourself though. > > Matthias >
_______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

