[squeak-dev] automatic resize of SystemWindow when adding morphs

Igor Stasenko siguctua at gmail.com
Thu May 19 15:00:14 UTC 2011


On 19 May 2011 16:13, Görge Albrecht <squeak-dev at anz.at> wrote:
> Hi,
>
> I wonder if there's a possibility to trigger a resize of a SystemWindow when adding Morphs dynamically.
>
> When opening a Morph containing several submorphs with openInWorld, the SystemWindow is correctly sized.
> But when adding submorphs to an already open SystemWindow, the morphs are added outside the SystemWindow.
> Is there a way to trigger the resizing?
>

hmm.. perhaps #layoutChanged?
Layouts is tricky, hard to tell if it will work or not.

> Thanks in advance,
> Görge
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list