summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-09-14 13:42:04 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-09-14 13:42:04 +0000
commit8c56fa75c7d2c865778a0e35e242536063acfb4c (patch)
tree578538b3263b1cb2db0a3edaa7742ab2cfe5e472 /fluid
parent4e6a41e2cdde2531174a59cae28e4eb63c0a75bb (diff)
Fix new FLUID window grid bug (STR #166)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Window_Type.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx
index c745852fe..85edf3a04 100644
--- a/fluid/Fl_Window_Type.cxx
+++ b/fluid/Fl_Window_Type.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.7 2003/08/02 21:17:30 easysw Exp $"
+// "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.8 2003/09/14 13:42:04 easysw Exp $"
//
// Window type code for the Fast Light Tool Kit (FLTK).
//
@@ -304,6 +304,9 @@ void Fl_Window_Type::open() {
w->show();
w->resizable(p);
}
+
+ w->size_range(gridx * snap, gridy * snap, Fl::w(), Fl::h(),
+ gridx * snap, gridy * snap, 0);
}
// control panel items:
@@ -792,5 +795,5 @@ int Fl_Window_Type::read_fdesign(const char* propname, const char* value) {
}
//
-// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.7 2003/08/02 21:17:30 easysw Exp $".
+// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.8 2003/09/14 13:42:04 easysw Exp $".
//