View Problem Report: 12714
Audit Trail:
From: Matthew Flatt <mflatt at cs.utah.edu>
To: paddy.mahoney at gmail.com, bugs at racket-lang.org
Cc: nobody at racket-lang.org, bug-notification at racket-lang.org
Subject: Re: [racket-bug] all/12714: auto-resize doesn't default to true > docs or implementation issue?
Date: Wed, 25 Apr 2012 18:04:45 -0600
At Fri, 20 Apr 2012 15:28:02 -0400, paddy.mahoney at gmail.com wrote:
> From
> http://docs.racket-lang.org/gui/message_.html
> "If auto-resize is not #f, then automatic resizing is initially enanbled (see
> auto-resize), and the message% object's graphical minimum size is as
> small as possible." -> this doesn't appear to be the case here. Windows XP,
> Racket 5.1
It might be clearer to say
If `auto-resize' is specified as true value, then...
but the convention throughout the documentation is that optional
arguments have defaults, and the prose assumes a default if no explicit
value is provided for the argument. Defaults are shown in the blue box
alongside contracts, and the blue box for the `message%' constructor,
ends with
auto-resize : any/c = #f
indicating that `auto-resize' is #f by default.
State changed from "open" to "closed" by samth at Sun, 03 Jun 2012 11:07:41 -0400
Reason>>> The default is specified in the blue box.
Responsible changed from "nobody" to "samth" by eli at Mon, 18 Feb 2013 23:22:20 -0500
Reason>>> samth closed