<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">Hi, <br>
</font></p>
<p><font size="4">I try this script bellow: the rotated morph is
outside of the owner, which seems logical considered how is
intended the BoxMorph behavior. Rotating in the other direction
get the morph inside the owner bounds, but its extent is then
no-sense.<br>
</font></p>
<p><font size="4">I am suspecting it is not possible to build GUI
with Morphs affine transformed. It is likely an uneasy topic
because you will have rectangular bounding with sides not
parallel to each others and to the x and y screen axis as well.
Under that circumstance, layout may be complicated, or even
impossible.<br>
</font></p>
<p><font size="4">| button tm1 tm2 tm3 row |<br>
       <br>
   tm1 := TextModelMorph withText: 'Some random text'.<br>
   button := PluggableButtonMorph model: [] action: #value
label: 'Click Me'.<br>
   tm2 := TextModelMorph withText: 'Some other random text'.<br>
   tm3 := TextModelMorph withText: 'I am passive, and disabled
user edit' ::<br>
       disableEditing;<br>
       morphExtent: 400@50;<br>
       rotation: Float halfPi .  <br>
   row := LayoutMorph newRow.<br>
   row addMorph: tm3 ;<br>
       addMorph: (LayoutMorph newColumn ::<br>
           addMorph: tm1 ;<br>
           addMorph: button;<br>
           addMorph: tm2 ).<br>
       <br>
   SystemWindow new<br>
       setLabel: 'TextModelMorphDemo';<br>
       addMorph: row;<br>
       openInWorld.<br>
<br>
</font></p>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo">http://mamot.fr/@drgeo</a></pre>
</body>
</html>