<div dir="ltr"><div dir="ltr">On Sat, Aug 10, 2024 at 4:35 PM <<a href="mailto:ken.dickey@whidbey.com">ken.dickey@whidbey.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On 2024-08-10 13:32, Mark Volkmann via Cuis-dev wrote:<br>
<br>> What can I do to tell the SystemWindow that I want its extent to be the <br>
> minimum required to display its submorphs.<br>
<br>
The following works for me. Note that the last line must be sent <br>
_after_ openInWOrld.<br>
<br>
window := SystemWindow new.<br>
window addMorph: (LabelMorph new contents: 'Hello World').<br>
window openInWorld.<br>
<br>
window morphExtent: window minimumExtent.<br></blockquote><div><br></div><div>THIS is the key thing I was looking for! </div></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div></div>