<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Thanks! <br></div><div>It is working!<br></div><div><br></div><div>I'm just playing and learning with Cuis so none of my questions are <span class="dt"><span class="dtText">demanding urgent attention.</span></span><br></div><div><br></div><div><span class="dt"><span class="dtText">Regards,</span></span><br></div><div><span class="dt"><span class="dtText">Szabolcs</span></span><br></div><div><br></div><div>On Fri, Aug 4, 2023, at 17:19, <a href="mailto:ken.dickey@whidbey.com">ken.dickey@whidbey.com</a> wrote:<br></div><blockquote type="cite" id="qt" style=""><div>I think the attached does the right thing (immediate update).<br></div><div><br></div><div>Needs review and more testing.<br></div><div><br></div><div>Busy now, gotta go.<br></div><div><br></div><div>Good on ya,<br></div><div>-KenD<br></div><div><br></div><div><br></div><div>On 2023-08-03 11:55, Szabolcs Komáromi via Cuis-dev wrote:<br></div><div><br></div><div>> Hi,<br></div><div>> <br></div><div>> Today I read trough the Layout Tour from the Learning-Cuis repository. <br></div><div>> (Meanwhile I created new screenshots for the tutorial and Ken already <br></div><div>> merged my pull request.) And also watched Nicolas's video tutorial on <br></div><div>> Youtube. (How to compose morphs in layouts in Cuis Smalltalk) My <br></div><div>> experience and you can see in the video also that sometimes the layout <br></div><div>> morph doesn't align its submorphs if <br></div><div>> proportionalHeight:/proportionalWidth:/offAxisEdgeWeight: are changed. <br></div><div>> Nicola uses the halo's resize button to nudge the layout to do its job. <br></div><div>> But what is the right message to do this programmatically?<br></div><div>> <br></div><div>> The redrawNeeded message is not enough. The LayoutSpecEditPanel from <br></div><div>> the Layout Tour uses the layoutSubmorphs message alongside redrawNeeded <br></div><div>> in the updateMasterFromCopy method.<br></div><div>> <br></div><div>>> myLayoutMorph layoutSubmorphs; redrawNeeded<br></div><div>> <br></div><div>> What is the difference between the two method?<br></div><div>> <br></div><div>> Regards,<br></div><div>> Szabolcs<br></div><div><br></div><div><b>Attachments:</b><br></div><ul><li>LayoutSpec.st<br></li></ul></blockquote><div><br></div></body></html>