DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2200
Version: 1.1.9


While looking at Fl_Slider behavior, I find that it resize inconsistently,
and the attached fragment of code show it very clearly:

#include <FL/x.H>
#include <FL/Fl.H>
#include "FL/Fl_Window.H"
#include <FL/Fl_Slider.H>

int main()
{
        Fl_Window* o = new Fl_Window(0, 0, 200, 150, "test slider"); 
             Fl_Slider *slider = new Fl_Slider(10, 10, 30, 100,
"slider");

         o->resizable(slider);
         o->end();
         o->show();
         Fl::run();
}

compile and run the fragment of code, it show a vertical slider;
resize the window vertically only, you will see that the "slider handle"
doesn't resize, (but it should);

restart the test, and resize horizontally only, you will see that the
slider handle will resize (and it shouldn't), up to draw itself outside of
the slider box.


Link: http://www.fltk.org/str.php?L2200
Version: 1.1.9
#include <FL/x.H>
#include <FL/Fl.H>
#include "FL/Fl_Window.H"
#include <FL/Fl_Slider.H>

int main(int ac,char **av)
{
        Fl_Window* o = new Fl_Window(0, 0, 200, 150, "test slider");

                Fl_Slider *slider = new Fl_Slider(10, 10, 30, 100, "slider");

        o->resizable(slider);
        o->end();
        o->show();
        Fl::run();
}
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to