summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-07-19 13:14:18 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-07-19 13:14:18 +0000
commit069276646a467a0d936fb148763685f5a917db5d (patch)
treea15636d102a014ed0273e3409abceadb903ff757
parent72da53c9c770dd4f526eb9ab5d9bed0c4b04633f (diff)
Fixed button resizing issue in Fl_File_Chooser (STR #884)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4435 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--CHANGES1
-rw-r--r--src/Fl_File_Chooser.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 847b7c9a3..f7b2b12a2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,7 @@ CHANGES IN FLTK 1.1.7
- Documentation fixes (STR #648, STR #692, STR #730, STR
#744, STR #745, STR #942)
+ - Fixed button resizing in File Chooser (STR #884)
- Fixed Fluid redraw issue (STR #912)
- Added 32bit BMP Image file format support (STR #918)
- Value Sliders would not receive focus when clicked on (STR #911)
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx
index b47cde541..b3fb06d53 100644
--- a/src/Fl_File_Chooser.cxx
+++ b/src/Fl_File_Chooser.cxx
@@ -361,6 +361,7 @@ int w, h;
okButton->measure_label(w, h);
okButton->resize(cancelButton->x() - 50 - w, cancelButton->y(),
w + 40, 25);
+okButton->parent()->init_sizes();
}
const char * Fl_File_Chooser::ok_label() {