[Cuis-dev] initial size of SystemWindow subclass

Mark Volkmann r.mark.volkmann at gmail.com
Sat Aug 10 08:23:25 PDT 2024


I am calling openInWorld after creating my morph where all submorphs are added to it in its initialize method. Is there something I need to do to tell my morph to “pack” its submorphs?

---
R. Mark Volkmann
Object Computing, Inc.

> On Aug 10, 2024, at 9:36 AM, Hilaire Fernandes via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
> Are you sending the #openInWorld message once you finished packing the widgets in the Window?
> 
> Le 10/08/2024 à 02:19, Mark Volkmann via Cuis-dev a écrit :
>> Thanks for that tip Jon! I made that change, but the issue with sizing the window to hold its contents still remains. Clicking an edge of the window fixes it. I'm thinking there must be a method I need to call on the SystemWindow after adding content to it so it will recalculate its size.
> -- 
> GNU Dr. Geo
> http://gnu.org/s/dr-geo/
> http://gnu-drgeo.blogspot.com/
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240810/983fdbe6/attachment.htm>


More information about the Cuis-dev mailing list