From 4fa52a1a4bd0658a667588cfc9e7b4be65e2161f Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Wed, 1 Aug 2012 07:51:31 -0600 Subject: [PATCH] racket/gui: clarify graphical min size in docs for `text-field%' Closes PR 12959 original commit: 7df91a6148c87c17771a6d7c8ecdecb7266ce240 --- collects/scribblings/gui/text-field-class.scrbl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/collects/scribblings/gui/text-field-class.scrbl b/collects/scribblings/gui/text-field-class.scrbl index 05f388c0..e9e7d1d2 100644 --- a/collects/scribblings/gui/text-field-class.scrbl +++ b/collects/scribblings/gui/text-field-class.scrbl @@ -69,13 +69,13 @@ The @racket[callback] procedure is called when the user changes the @indexed-racket['text-field-enter], otherwise it is @indexed-racket['text-field]. -If @racket[init-value] is not @racket[""], the minimum width of the +If @racket[init-value] is not @racket[""], the @tech{graphical minimum size} for the text item is made wide enough to show @racket[init-value]. Otherwise, a built-in default width is selected. For a text field in single-line - mode, the minimum height is set to show one line and only the - control's width is stretchable. For a multiple-line text field, the - minimum height shows three lines of text and is stretchable in both - directions. + mode, the @tech{graphical minimum size} is set to show one line, and only the + control's width is stretchable by default. For a multiple-line text field, the + @tech{graphical minimum size} shows three lines of text, and it is stretchable in both + directions by default. The style must contain exactly one of @racket['single] or @racket['multiple]; the former specifies a single-line field and the