Since the auto-sizing if effectively overridden by the caller....
Change
SmalltalkImage>>aboutThisSystem
"Identify software version"
| text dialog width |
text := Smalltalk systemInformationString withCRs.
width := 0.
text linesDo: [:l | width := width max: (UITheme current textFont
widthOfStringOrText: l)].
dialog := LongMessageDialogWindow new entryText: text.
dialog iconMorph image: ThemeIcons pharoIcon.
dialog title: 'About Pharo'.
dialog open. dialog width: (width + 120 min: Display width - 50).
dialog position: 2...@25.
to
SmalltalkImage>>aboutThisSystem
"Identify software version"
| text dialog width |
text := Smalltalk systemInformationString withCRs.
width := 0.
text linesDo: [:l | width := width max: (UITheme current textFont
widthOfStringOrText: l)].
dialog := LongMessageDialogWindow new entryText: text.
dialog iconMorph image: ThemeIcons pharoIcon.
dialog title: 'About Pharo'.
dialog open.
dialog textMorph minWidth: 20; minHeight: 20.
dialog width: (width + 120 min: Display width - 50).
dialog position: 2...@25.
Though already looks hacked for this purpose, to be fair.
Regards, Gary
----- Original Message -----
From: "Stéphane Ducasse" <[email protected]>
To: <[email protected]>
Sent: Monday, October 18, 2010 5:28 PM
Subject: Re: [Pharo-project] Missing Close in About Dialog
thanks Bernhard :)
Welcome too :)
Stef (busy running).
On Oct 17, 2010, at 4:30 PM, Bernhard Pieber wrote:
Ah, interesting! I just tested it again more thoroughly and I found out
that it has to do with the size of the Pharo window. If I maximize it on
my 30" display the dialog truncated so that the OK button is not visible.
If I make the window is much smaller it appears. See
http://dl.dropbox.com/u/6204244/Pharo%20About%20Dialog.png.
Thanks for the fast response!
Cheers,
Bernhard
Am 17.10.2010 um 16:08 schrieb Schwab,Wilhelm K:
Are you sure? I see an OK button at the bottom right of About in an
image that identifies itself the same way.
________________________________________
From: [email protected]
[[email protected]] On Behalf Of Bernhard
Pieber [[email protected]]
Sent: Sunday, October 17, 2010 10:05 AM
To: [email protected]
Subject: [Pharo-project] Missing Close in About Dialog
Dear Pharo Folks,
It is a very minor thing but I wanted to let you know that the About
Dialog (World Menu > System > About…) in the latest stable Pharo Dev
image (Pharo-1.1.1-dev10.09.1) has not got any Close button.
Cheers,
Bernhard
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project