From e3ae7738429b58499b6f9993e0ecedc9f449120a Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 29 Aug 2005 21:27:48 +0000 Subject: [PATCH] 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 --- src/Fl_File_Chooser.cxx | 1 + src/Fl_File_Chooser.fl | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 *} } {