<div class="gmail_extra">i get roughly the same behavior on</div><div class="gmail_extra">ubuntu 11.10 running gnome 3</div><div class="gmail_extra">racket v5.2.1</div><div class="gmail_extra"><br></div><div class="gmail_extra">
<div class="gmail_extra">#! /usr/bin/env racket</div><div class="gmail_extra"><br></div><div class="gmail_extra">#lang racket/gui</div><div class="gmail_extra"><br></div><div class="gmail_extra">(message-box "goodbye Fred" "hello world")</div>
<div><br></div><div>here's a screenshot:</div><div><a href="http://ozzloy.lifeafterking.org/~ozzloy/title-cut-off.png">http://ozzloy.lifeafterking.org/~ozzloy/title-cut-off.png</a></div><br><div class="gmail_quote">On Wed, Apr 25, 2012 at 12:53, Harry Spier <span dir="ltr"><<a href="mailto:vasishtha.spier@gmail.com" target="_blank">vasishtha.spier@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Its Windows Vista.<br>
<br>
Also I don't know if this is also another bug. When the message-box<br>
displays, the Racket logo displays not in the title bar but in the<br>
message area beside the text and it is about double the size as it<br>
appears in a top-level window frame title bar.<br>
<br>
(I haven't yet tried Patrick suggested solution of setting<br>
auto-resize to #t as I did a work around of increasing the message<br>
size to be longer than the title).<br>
Thanks,<br>
Harry<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Apr 25, 2012 at 12:01 PM, Matthias Felleisen<br>
<<a href="mailto:matthias@ccs.neu.edu">matthias@ccs.neu.edu</a>> wrote:<br>
><br>
> Strange. Works okay on my Mac. What platform?<br>
><br>
><br>
> On Apr 25, 2012, at 11:47 AM, Harry Spier wrote:<br>
><br>
>> That displays OK<br>
>><br>
>> but:<br>
>> #lang racket/gui<br>
>> (message-box "goodbye Fred" "hello world")<br>
>><br>
>> displays the message box title as "goodby..." because the message box<br>
>> width is only wide enough to hold the message and the Racket logo<br>
>><br>
>> Thanks,<br>
>> Harry<br>
>><br>
>> On Wed, Apr 25, 2012 at 9:38 AM, Matthias Felleisen<br>
>> <<a href="mailto:matthias@ccs.neu.edu">matthias@ccs.neu.edu</a>> wrote:<br>
>>><br>
>>> Do you mean something like this:<br>
>>><br>
>>>> #lang racket/gui<br>
>>>><br>
>>>> (message-box "good bye" "hello world")<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> On Apr 20, 2012, at 10:30 AM, Harry Spier wrote:<br>
>>><br>
>>>> I've created a simple message-box. It expands in width to display the<br>
>>>> message, but if the title is longer than the message, then the title<br>
>>>> is cut-off. Is there any way to have the message-box expand enough to<br>
>>>> display the title in that case.<br>
>>>><br>
>>>> Thanks,<br>
>>>> Harry Spier<br>
>>>> ____________________<br>
>>>> Racket Users list:<br>
>>>> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
>>><br>
><br>
<br>
____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</div></div></blockquote></div><br></div>