diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-08-29 21:27:48 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-08-29 21:27:48 +0000 |
| commit | e3ae7738429b58499b6f9993e0ecedc9f449120a (patch) | |
| tree | 4b3edb858d40203e637bc6db2e795aa36b929920 /src | |
| parent | dc6357bf1a271595b68542b5fa881b518e3a1690 (diff) | |
Re-Fixed STR 884. I did put the change into the FLUID file, but accidentally into the wrong line, where it got lost.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_File_Chooser.cxx | 1 | ||||
| -rw-r--r-- | src/Fl_File_Chooser.fl | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index 107b377cc..0caca81eb 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -362,6 +362,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() { diff --git a/src/Fl_File_Chooser.fl b/src/Fl_File_Chooser.fl index 7e52e1912..7284b8984 100644 --- a/src/Fl_File_Chooser.fl +++ b/src/Fl_File_Chooser.fl @@ -285,7 +285,8 @@ showChoiceCB();} {} int w, h; okButton->measure_label(w, h); okButton->resize(cancelButton->x() - 50 - w, cancelButton->y(), - w + 40, 25);} {} + w + 40, 25); +okButton->parent()->init_sizes();} {} } Function {ok_label()} {return_type {const char *} } { |
