From 134629c861218a4f9a0a78f5473b440e5d21a158 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 1 Nov 2005 16:32:21 +0000 Subject: 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 --- src/Fl_File_Chooser.fl | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/Fl_File_Chooser.fl') 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 } @@ -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_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 { -- cgit v1.2.3