<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="+1">Inserting this instruction below in your script
at some point may help, try out and tell us.<br>
</font></p>
<p><font size="+1"> self runningWorld doOneCycle.</font></p>
<p><font size="+1">It helped me for a correct computation of the
RealEstate agent after changing the scale of the taskbar.<br>
</font></p>
<p><font size="+1"></font>Hilaire<br>
</p>
<div class="moz-cite-prefix">Le 28/07/2021 à 18:56, Nicola Mingotti
via Cuis-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:0e04a94c-37ad-445f-bf4a-65d498913ef6@gmail.com"><br>
I found a fix, just an hack.<br>
<br>
My conjecture was that the .st config script was running before
GUI items were actually ready on the World.<br>
So i tried to put a little timeout copying from my old Squeak
notes on fork and Delay ;) <br>
<br>
------------ working -----------------<br>
<br>
[ |list tbar| <br>
(Delay forMilliseconds: 3000) wait. <br>
Transcript show: 'hello world'. <br>
list _ UISupervisor ui submorphs reject: [ :aMo | aMo is:
#TaskbarMorph ].<br>
list do: [ :x | x delete ] .<br>
Preferences veryBigFonts . <br>
tbar _ (UISupervisor ui submorphs select: [ :x | x is:
#TaskbarMorph ]) first. <br>
tbar scale: 1.4.<br>
] fork. <br>
<br>
-----------------------------------------<br>
<br>
Please update the Cuis book ;) that is really important !<br>
<br>
bye<br>
n.<br>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>