diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-11-01 16:32:21 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-11-01 16:32:21 +0000 |
| commit | 134629c861218a4f9a0a78f5473b440e5d21a158 (patch) | |
| tree | 6e22254b8d312345f573d17416895cb0e408981d /src/Fl_File_Chooser.fl | |
| parent | 067d1d8a61a53723f286e12059ccc168ea8e98c9 (diff) | |
STR #1056: fixed a slight offset in the Fl_File_Chooser that kept resizing from working correctly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser.fl')
| -rw-r--r-- | src/Fl_File_Chooser.fl | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/Fl_File_Chooser.fl b/src/Fl_File_Chooser.fl index 7be3d2752..451fb567e 100644 --- a/src/Fl_File_Chooser.fl +++ b/src/Fl_File_Chooser.fl @@ -53,13 +53,14 @@ class FL_EXPORT Fl_File_Chooser {open decl {void showChoiceCB();} {} decl {void update_favorites();} {} decl {void update_preview();} {} - Function {Fl_File_Chooser(const char *d, const char *p, int t, const char *title)} {} { + Function {Fl_File_Chooser(const char *d, const char *p, int t, const char *title)} {open + } { Fl_Window window { label {Choose File} callback {fileName->value(""); fileList->deselect(); Fl::remove_timeout((Fl_Timeout_Handler)previewCB, this); -window->hide();} open +window->hide();} selected private xywh {387 242 490 380} type Double resizable code0 {if (title) window->label(title);} code1 {\#include <stdio.h>} @@ -89,8 +90,8 @@ window->hide();} open } } Fl_Tile {} { - callback {update_preview();} - private xywh {10 45 471 225} resizable + callback {update_preview();} open + private xywh {10 45 470 225} resizable } { Fl_File_Browser fileList { callback {fileListCB();} @@ -98,12 +99,12 @@ window->hide();} open code0 {\#include <FL/Fl_File_Browser.H>} } Fl_Box previewBox { - label {?} selected + label {?} private xywh {305 45 175 225} box DOWN_BOX labelsize 100 align 80 } } - Fl_Group {} {open - private xywh {0 275 480 95} + Fl_Group {} { + private xywh {10 275 470 95} } { Fl_Group {} { private xywh {10 275 470 20} @@ -159,7 +160,7 @@ window->hide();} } Fl_Window favWindow { label {Manage Favorites} - private xywh {580 50 355 150} type Double resizable + private xywh {437 187 355 150} type Double resizable code0 {favWindow->label(manage_favorites_label);} modal size_range {181 150 0 0} visible } { Fl_File_Browser favList { |
