From d5c04e175f443f5235c469831b81a37d30e93c61 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 2 Apr 2002 19:30:52 +0000 Subject: Fix minimum width of input field to 340 pixels... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2054 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 5 ++++- src/fl_ask.cxx | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 5560c7377..8390d9b58 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ -CHANGES IN FLTK 1.1.0 +CHANGES IN FLTK 1.1.0b13 + - The input field used by the fl_input() and + fl_password() functions was resized too small in + 1.1.0b12. - Added casts in fl_set_fonts_win32.cxx for VC++ 5.0. - Fl_File_Icon::find() did not check the basename of a filename for a match; this caused matches for a diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx index fa3ef3005..cc83f5a4f 100644 --- a/src/fl_ask.cxx +++ b/src/fl_ask.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_ask.cxx,v 1.8.2.8.2.6 2002/03/23 15:35:08 easysw Exp $" +// "$Id: fl_ask.cxx,v 1.8.2.8.2.7 2002/04/02 19:30:52 easysw Exp $" // // Standard dialog functions for the Fast Light Tool Kit (FLTK). // @@ -102,8 +102,8 @@ void resizeform() { message_w += 10; message_h += 10; - if (message_w < 60) - message_w = 60; + if (message_w < 340) + message_w = 340; if (message_h < 30) message_h = 30; @@ -340,5 +340,5 @@ const char *fl_password(const char *fmt, const char *defstr, ...) { } // -// End of "$Id: fl_ask.cxx,v 1.8.2.8.2.6 2002/03/23 15:35:08 easysw Exp $". +// End of "$Id: fl_ask.cxx,v 1.8.2.8.2.7 2002/04/02 19:30:52 easysw Exp $". // -- cgit v1.2.3