[Cuis-dev] updating LayoutMorph extent after deleting a sub morph

Mark Volkmann r.mark.volkmann at gmail.com
Sun Aug 18 04:11:38 PDT 2024


Thanks Mariano! This is what worked for me because I don't want the width
of the extent to change.

todosPane morphExtent: todosPane morphExtent x @ todosPane minimumExtent y.

On Sat, Aug 17, 2024 at 10:09 PM Mariano Montone via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> You can make a LayoutMorph fits its contents, like this:
>
> myLayoutMorph morphExtent: myLayoutMorph minimumExtent.
> El 17/8/24 a las 22:51, Mark Volkmann via Cuis-dev escribió:
>
> Is there a message I can send to a LayoutMorph to make it recompute its
> extent after I delete some of its submorphs? I tried sending both
> #layoutSubmorphs and #refreshExtent, but the value of the extent property
> remains the same.
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240818/4c4a4f11/attachment.htm>


More information about the Cuis-dev mailing list