<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        Hi Timothy.<div><br></div><div>> <span style="font-size: 10pt">How do I get a RSBalloonMorph to open up inside the extents of The World?</span></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">morph bounds: (morph bounds translatedToBeWithin: self currentWorld bounds).</span></div><div><span style="font-size: 10pt">morph openInWorld.</span></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">Best,</span></div><div><span style="font-size: 10pt">Marcel</span></div><div class="mb_sig"></div><blockquote class='history_container' type='cite' style='border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;'>
                        <p style='color: #AAAAAA; margin-top: 10px;'>Am 27.10.2020 19:20:40 schrieb gettimothy via Squeak-dev <squeak-dev@lists.squeakfoundation.org>:</p><div style='font-family:Arial,Helvetica,sans-serif'><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10pt"><div>Hi Folks,<br></div><div><br></div><div><br></div><div>I found the Morph >> position: aPoint method<br></div><div><br></div><div>and then I modified the RSCanvas >> open method to set position:10@10.<br></div><div><br></div><div>I also to the liberty to make the size 1000@1000  .<br></div><div><br></div><div>cheers,<br></div><div><br></div><div>t</div><div><br></div><div><br></div><div style="" data-zbluepencil-ignore="true" class="zmail_extra"><div><br></div><div id="Zm-_Id_-Sgn1">---- On Tue, 27 Oct 2020 08:20:35 -0400 <b>gettimothy <gettimothy@zoho.com></b> wrote ----<br></div><div><br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt"><div>Hi Folks,<br></div><div><br></div><div>TL;DR;<br></div><div><br></div><div>How do I get a RSBalloonMorph to open up inside the extents of The World?  If we fix this, then the majority of Roassal3 examples are working examples.<br></div><div><br></div><div><br></div><div><br></div><div>For Roassal3<br></div><div><br></div><blockquote style="border: 1.0px solid rgb(204,204,204);padding: 7.0px;background-color: rgb(245,245,245);"><div><pre style="color: rgb(0,0,0);font-style: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0.0px;text-transform: none;widows: 2;word-spacing: 0.0px;background-color: rgb(255,255,255);"><div>MCHttpRepository<br></div><div>    location: '<a href="http://www.squeaksource.com/Roassal3" target="_blank">http://www.squeaksource.com/Roassal3</a>'<br></div><div>    user: ''<br></div><div>    password: ''<br></div></pre><div><br></div></div></blockquote><div> I have a class named RSExampleDoits  which has class side methods that allow easy access to the various examples a healthy majority of which are "semi-working".<br></div><div>For example:<br></div><blockquote style="border: 1.0px solid rgb(204,204,204);padding: 7.0px;background-color: rgb(245,245,245);"><div><div>rsBasicAnimationExamples<br></div><div><br></div><div>"working"<br></div><div><br></div><div>"semi working"<br></div><div>"the viewport for these is off-World on open."<br></div><div>RSBasicAnimationExamples new  example01Basic  open.<br></div><div>RSBasicAnimationExamples new example02Sequential   open.<br></div><div>RSBasicAnimationExamples new  example03Ramp  open.<br></div><div>RSBasicAnimationExamples new  example05LoopEvent  open.<br></div><div>RSBasicAnimationExamples new   example06Parallel open.<br></div><div><br></div><div><br></div><div>"not working"<br></div><div>RSBasicAnimationExamples new  example04DashAnimation  open.<br></div><div>RSBasicAnimationExamples new example07CornerRadius   open.<br></div></div></blockquote><div>The basic problem is that the example shows up mostly off-screen in the World off to the right and must be pulled in by the mouse to see it.<br></div><div><br></div><div>the 'open' and 'createMorph' send are to RSCanvas<br></div><div><br></div><blockquote style="border: 1.0px solid rgb(204,204,204);padding: 7.0px;background-color: rgb(245,245,245);"><div><div>ProtoObject #()<br></div><div>      Object #()<br></div><div>            RSObject #()<br></div><div>                  RSObjectWithProperty #('announcer' 'properties')<br></div><div>                        RSCanvas #('shapes' 'fixedShapes' 'camera' 'animations' 'extent' 'color' 'morph' 'clearBackground' 'showRectangles' 'nodes' 'edges')<br></div><div>open<br></div><div>| window |<br></div><div>self createMorph.<br></div><div>window := morph openInWindow.<br></div><div>window extent: 500@500.<br></div><div>morph privateOwner: window.<br></div><div>^ window<br></div><div><br></div><div>createMorph<br></div></div><div>"Create a Morph that contains myself."<br></div><div>Smalltalk at: #AthensCanvas<br></div><div>ifPresent: [morph := RSAthensMorph new renderer: RSAthensRenderer new; yourself]<br></div><div>ifAbsent: [morph := RSBalloonMorph new renderer: RSBalloonRenderer new; yourself].     <<---THIS IS CALLED.<br></div><div><br></div><div>morph canvas: self.<br></div><div><div>^ morph<br></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></blockquote><div>your insights are much appreciated.<br></div></div><div><br></div></div></blockquote></div><div><br></div></div><br></div></blockquote>
                                        </div></body>