[Pharo-project] Missing Close in About Dialog

Alain Plantec beranger22 at gmail.com
Mon Oct 18 13:35:27 EDT 2010


  fixed
http://code.google.com/p/pharo/issues/detail?id=3127
Cheers
Alain

Le 18/10/2010 19:01, Gary Chambers a écrit :
> 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: 25 at 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: 25 at 25.
>
> Though already looks hacked for this purpose, to be fair.
>
> Regards, Gary
>
> ----- Original Message ----- From: "Stéphane Ducasse" 
> <stephane.ducasse at inria.fr>
> To: <Pharo-project at lists.gforge.inria.fr>
> 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: pharo-project-bounces at lists.gforge.inria.fr 
>>> [pharo-project-bounces at lists.gforge.inria.fr] On Behalf Of Bernhard 
>>> Pieber [bernhard at pieber.com]
>>> Sent: Sunday, October 17, 2010 10:05 AM
>>> To: Pharo-project at lists.gforge.inria.fr
>>> 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
>>> Pharo-project at lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project at lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>





More information about the Pharo-dev mailing list