Hello all, I am attempting to create a simple program to test a patch for STR #1895 (http://www.fltk.org/str.php?L1895) and I have come across some strange behaviour while using Fl_Scroll in fluid.
What I am trying to do is to place a Fl_Scroll onto a Fl_Double_Window. When I add a Fl_Box as a child to the Fl_Scroll, I cannot seem to set the size of the Fl_Scroll, using the mouse and red overlay, to be smaller than the box. Fluid fights me. Fluid insists on making the size of the Fl_Scroll the size of the Fl_Box child. It seems to me that the Fl_Scroll is behaving like a Fl_Group in this respect. Is this normal behaviour? To reproduce follow these steps: 1) Start fluid 2) Add a Function and make both fields blank 3) Select 'main()' and New->Group->Window 4) Resize the Window to 400x400 5) Select 'Double_Window' then New->Group->Scroll 6) Resize the scroll to 200x200 and set box to ENGRAVED_BOX and Colour to WHITE (so you can see it) 7) Select 'Scroll' then New->Other->Box 8) Resize the box to 350x350 and set the box to FLAT_BOX (so you can see it) When I finish step 8 the box is not being clipped to the bounds the Fl_Scroll. Is this correct behaviour? 9) With the mouse, select the white area of the Fl_Scroll and move it around inside the window. When I finish step 9, I see the Fl_Scroll grow around the Fl_Box. Is this correct behaviour? Thanks, Alvin -- Alvin _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

