<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 1/20/2025 1:46 PM, Nicolás Papagna Maldonado via Cuis-dev wrote:
<blockquote
cite="mid:CADGn7BNgXOvOfAc=F_vcnfcsno2=Tv3EZm20WQMD122_xbRELA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi folks,</div>
<div><br>
</div>
<div>I just found out about this weird behavior:</div>
<div>Open a workspace and evaluate:</div>
<div><br>
</div>
This makes the LayoutMorph grow as expected:
<div><br>
<div><font face="monospace">layout := LayoutMorph newColumn.<br>
layout openInWorld.<br>
10 timesRepeat: [ layout addMorph: LabelMorph new ].</font></div>
<div><font face="monospace"><br>
</font></div>
<div><br>
</div>
<div>This opens a SystemWindow and its layout content appear
to be clipped to the size of the window, but moving the
window</div>
<div>shows the label morphs rendered outside the window,
allowing you to "paint" using them (see attached
screenshot):</div>
<div><br>
</div>
<div>window := SystemWindow new.</div>
<div>window openInWorld.<br>
10 timesRepeat: [ window addMorph: LabelMorph new ].</div>
</div>
</div>
</blockquote>
<br>
See #submorphsMightProtrude. It is expected that SystemWindows (and
many other morphs) control their submorphs to guarantee this doesn't
happen.<br>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>