<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="+1">Hi, <br>
</font></p>
<p><font size="+1">I have this situation below in the screenshot
where I want one wheel widget in the top of the right white
column and the wheel underneath to be on the bottom<br>
</font></p>
<img moz-do-not-send="false"
src="cid:part1.019448D8.ECEDFAA6@drgeo.eu" alt="" width="600"
height="659">
<p><font size="+1">In the code bellow I understand the </font><font
size="+1"><font size="+1">minorDirectionPadding: #top/#bottom
does not make sense as it is a column. Is there some way to
add some proportional padding between the two wheels? <br>
</font></font></p>
<p><font color="#863266"><tt><font size="+1">buildMorphicWindow<br>
| row col |<br>
row := LayoutMorph newRow.<br>
row addMorphUseAll: area.<br>
col := LayoutMorph newColumn name: #wheelsYZ.<br>
col <br>
addMorph: WheelMorph new beVertical layoutSpec:
(LayoutSpec <br>
fixedWidth: DrGeoSystem wheelWidth <br>
fixedHeight: DrGeoSystem wheelHeight<br>
minorDirectionPadding: #top);<br>
addMorph: WheelMorph new beVertical layoutSpec:
(LayoutSpec <br>
fixedWidth: DrGeoSystem wheelWidth <br>
fixedHeight: DrGeoSystem wheelHeight <br>
minorDirectionPadding: #bottom).<br>
row addMorph: col layoutSpec: (LayoutSpec fixedWidth:
DrGeoSystem wheelWidth proportionalHeight: 1). <br>
self addMorph: row</font></tt><tt><br>
</tt></font></p>
<p><font size="+1"><font size="+1">In the worst case I can just add
a transparent proportional morph between the two wheel to
insert the padding. But I wonder if there is a better way to
do it.<br>
</font></font></p>
<p><font size="+1">Thanks</font></p>
<p><font size="+1">Hilaire<br>
</font></p>
<p><font color="#863266"><tt><br>
</tt></font></p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a></pre>
</body>
</html>