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

[STR New]

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


I tested on linux and windows, but only linux has a problem:

I found that if you use window->resizable() on a child which has a larger
width than the window, you will get a window with 0 width.  I realize the
user should just make the window larger before adding the child, but it
would be nice if this were handled as it leads to confusing behavior which
is different between OS's.

// This produces a 0 width window:
#include <FL/Fl.H>
#include <iostream>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Group.H>
using namespace std;

int main()
{
   Fl_Window* win = new Fl_Double_Window(500,500);
      Fl_Group* sub1 = new Fl_Group(0,0,600,500);
      win->resizable(sub1);
   win->end();
   win->show();
   Fl::run();
   return 0;
}


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

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to