diff options
| author | Manolo Gouy <Manolo> | 2011-02-08 20:59:46 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-02-08 20:59:46 +0000 |
| commit | 5dab14dafa6dba869c55281c214946934eb10aae (patch) | |
| tree | 10ffe040135c897a376506b6992083e4978beb61 /src/Fl_File_Chooser2.cxx | |
| parent | 95db2790d69fb227e78d307f50c41bdc4bee44d0 (diff) | |
Fix STR #2558: use more consistently FL_NORMAL_SIZE to define the default font size
of interface elements.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8405 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser2.cxx')
| -rw-r--r-- | src/Fl_File_Chooser2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx index 821126caa..7b9105e00 100644 --- a/src/Fl_File_Chooser2.cxx +++ b/src/Fl_File_Chooser2.cxx @@ -3,7 +3,7 @@ // // More Fl_File_Chooser routines. // -// Copyright 1999-2010 by Michael Sweet. +// Copyright 1999-2011 by Michael Sweet. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -1410,7 +1410,7 @@ Fl_File_Chooser::update_preview() // Show the first 1k of text... int size = previewBox->h() / 20; if (size < 6) size = 6; - else if (size > 14) size = 14; + else if (size > FL_NORMAL_SIZE) size = FL_NORMAL_SIZE; previewBox->label(preview_text_); previewBox->align((Fl_Align)(FL_ALIGN_CLIP | FL_ALIGN_INSIDE | |
