Before I make an STR, should changing the size() of a window
affect the window's size_range()?
I find if I set the size_range() to a minimum and no maximum,
the window can be resized as one would expect.
But if later the size() is set, it seems to have the effect
of setting the maximum size_range() to the size() value.
Here's a small demo of the problem.
With 1.3.x, the user CAN'T enlarge the window..
with 1.1.x (eg. 1.1.7), the user can.
#include <stdio.h>
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
int main() {
Fl_Window win(640, 480);
win.resizable(win);
win.show();
win.size_range(320, 240); // minimum, no max
win.size(600,300); // <-- PROBLEM HERE: PREVENTS USER FROM SIZING
LARGER THAN 600/300 IN 1.3.x
return(Fl::run());
}
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk