[squeak-dev] Re: Polymorph in a trunk image

Ronald Spengler ron.spengler at gmail.com
Sat Sep 19 06:48:56 UTC 2009


Awesome! Yeah, that fixes the bug.

It looks like we have a subclass of ToolBuilder doing some of the
lifting in Polymorph. Is there any documentation / mailing list
threads / etc that I might go-to before sending mail to the list other
than?

http://wiki.squeak.org/squeak/5607

On Fri, Sep 18, 2009 at 11:30 PM, Andreas Raab <andreas.raab at gmx.de> wrote:
> Ronald Spengler wrote:
>>
>> Polymorph-ToolBuilder-Morphic introduces
>> PSToolBuilder>>buildPluggableWindow:
>>
>> This does has one sender, PluggableWindowSpec>>buildWith:
>>
>> Removing PSToolBuilder>>buildPluggableWindow: makes the browser open
>> to a proper size again.
>
> Ah, now it's getting clear. Here is what you need to add to PSToolBuilder to
> fix things:
>
>        widget bounds: (RealEstateAgent
>                initialFrameFor: widget
>                initialExtent: (aSpec extent ifNil:[widget initialExtent])
>                world: self currentWorld).
>
> The method in Squeak is time stamped 7/28/2009 so very recent (which
> explains why I had seen the problem before).
>
> Cheers,
>  - Andreas
>
>



-- 
Ron



More information about the Squeak-dev mailing list