diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-11-07 08:39:23 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-11-07 08:39:23 +0000 |
| commit | 0a41e770c38a284612730ff7f4b229ef21123ddf (patch) | |
| tree | 8ff2e552faded7015ff712fb50f7ff18429ae571 /src/Fl_File_Chooser.cxx | |
| parent | 1fe85a8c181587a6f6f88fab08c7f9a316d4759d (diff) | |
STR #1062: updated code to resize the preview panel of the file chooser and hide it entirely if unused
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser.cxx')
| -rw-r--r-- | src/Fl_File_Chooser.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index cb985f15e..ba54213bd 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -202,14 +202,14 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char } { Fl_Group* o = new Fl_Group(10, 275, 470, 95); { Fl_Group* o = new Fl_Group(10, 275, 470, 20); - { Fl_Check_Button* o = previewButton = new Fl_Check_Button(10, 275, 170, 20, "Preview"); + { Fl_Check_Button* o = previewButton = new Fl_Check_Button(10, 275, 73, 20, "Preview"); o->down_box(FL_DOWN_BOX); o->value(1); o->shortcut(0x80070); o->callback((Fl_Callback*)cb_previewButton); previewButton->label(preview_label); } - { Fl_Box* o = new Fl_Box(10, 275, 395, 20); + { Fl_Box* o = new Fl_Box(115, 275, 365, 20); Fl_Group::current()->resizable(o); } o->end(); |
