probably that show: invokes somehow doLayoutIn:

Stef

On Aug 15, 2013, at 10:23 AM, Stéphane Ducasse <[email protected]> 
wrote:

> Hi 
> 
> In this method I just added Transcript show: '.'. 
> and tried to open a transcript and it freezes the image systematically :(
> Any ideas why?
> 
> Stef
> 
> 
> doLayoutIn: layoutBounds 
>       "Compute a new layout based on the given layout bounds."
> 
>       "Note: Testing for #bounds or #layoutBounds would be sufficient to
>       figure out if we need an invalidation afterwards but #outerBounds
>       is what we need for all leaf nodes so we use that."
> 
>       | layout box priorBounds |
>       priorBounds := self outerBounds.
>       submorphs isEmpty ifTrue: [^fullBounds := priorBounds].
>       "Send #ownerChanged to our children"
>       submorphs do: [:m | m ownerChanged].
>       layout := self layoutPolicy.
>       layout ifNotNil: [layout layout: self in: layoutBounds].
>       self adjustLayoutBounds.
>       fullBounds := self privateFullBounds.
>       box := self outerBounds.
>       box = priorBounds 
>               ifFalse: [self invalidRect: (priorBounds quickMerge: box)]
> 


Reply via email to