<!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">
Hi Hilaire,<br>
(below)<br>
On 8/31/2023 10:08 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:8524d752-3776-1b7e-ef8e-2e49548d71bc@free.fr"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p><font size="4">Hi, <br>
</font></p>
<p>I have a window whose contents (morph) change when browsing
objects or toggling to editor view.</p>
<p>However the size of the windows should change (to get larger)
in some situation to at least fit all its contained morphs.</p>
<p>Observe below. First picture, the contents changed but not the
window extent, when dragging the window there are graphic
artefacts. Second picture, when manually dragging a corner of
the window, the window extent is adjusted automatically to its
contents. Sure I could force it manually somewhere but I don't
think it is right.<br>
</p>
<p>The windows contents is changed with #replaceSubmorph:by:
message in the breadcrumbs pane (horizontal collection of
bottons and a view below)<br>
</p>
<p>Thanks<br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
Yes, SystemWindows don't #clipsSubmorphs and assume
#submorphsMightProtrude is false. Therefore they can't be larger
than contents. One obvious solution is to include a ScrollPane. But
here you want the window to become larger to fit the submorphs.<br>
<br>
Please make an image where this is easily seen, so I can take a
look.<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>