[racket] message-box too small to display title
i get roughly the same behavior on
ubuntu 11.10 running gnome 3
racket v5.2.1
#! /usr/bin/env racket
#lang racket/gui
(message-box "goodbye Fred" "hello world")
here's a screenshot:
http://ozzloy.lifeafterking.org/~ozzloy/title-cut-off.png
On Wed, Apr 25, 2012 at 12:53, Harry Spier <vasishtha.spier at gmail.com>wrote:
> 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
> >>>
> >
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120425/ce61b462/attachment.html>