[racket] message-box too small to display title

From: Harry Spier (vasishtha.spier at gmail.com)
Date: Wed Apr 25 12:53:13 EDT 2012

Its Windows Vista.

Also I don't know if this is also another bug.  When the message-box
displays, the Racket logo displays not in the title bar but in the
message area beside the text and it is about double the size as it
appears in a top-level window frame title bar.

 (I haven't yet tried Patrick suggested solution of setting
auto-resize to #t as I did a work around of increasing the message
size to be longer than the title).
Thanks,
Harry

On Wed, Apr 25, 2012 at 12:01 PM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>
> Strange. Works okay on my Mac. What platform?
>
>
> On Apr 25, 2012, at 11:47 AM, Harry Spier wrote:
>
>> That displays OK
>>
>> but:
>> #lang racket/gui
>> (message-box "goodbye Fred" "hello world")
>>
>> displays the message box title as "goodby..." because the message box
>> width is only wide enough to hold the message and the Racket logo
>>
>> Thanks,
>> Harry
>>
>> On Wed, Apr 25, 2012 at 9:38 AM, Matthias Felleisen
>> <matthias at ccs.neu.edu> wrote:
>>>
>>> Do you mean something like this:
>>>
>>>> #lang racket/gui
>>>>
>>>> (message-box "good bye" "hello world")
>>>
>>>
>>>
>>>
>>> On Apr 20, 2012, at 10:30 AM, Harry Spier wrote:
>>>
>>>> I've created a simple message-box.  It expands in width to display the
>>>> message, but if the title is longer than the message, then the title
>>>> is cut-off.  Is there any way to have the message-box expand enough to
>>>> display the title in that case.
>>>>
>>>> Thanks,
>>>> Harry Spier
>>>> ____________________
>>>>  Racket Users list:
>>>>  http://lists.racket-lang.org/users
>>>
>


Posted on the users mailing list.