<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Have you taken the tour?</p>
<p>  https://github.com/Cuis-Smalltalk/Learning-Cuis/blob/master/LayoutTour.md</p>
<p><br /></p>
<p>On 2024-07-07 20:49, Nafiz Islam via Cuis-dev wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div>I'm trying to create a document Morph that contains multiple page Morphs. I would like each page to always have the same height as the document Morph (excluding border) and also be able to scroll through each page with a scrollbar. The width would scale proportionally.</div>
<div> </div>
<div>So far I got a scrollbar with PluggableScrollPane, and I explicitly set the width and height for the scrollbar and page with morphWidth: and morphHeight:. But I haven't figured out yet how to make it responsive (i.e. continuously adjust the extent of pages and scrollbar based on the extent of the document Morph).</div>
<div> </div>
<div>Also, is it possible to make a Morph inflate inside its owner until it intersects with other submorphs? This might come in handy when adding toolbars.</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
</blockquote>
<p><br /></p>

</body></html>