[Cuis-dev] I have some issues running the conf. script file at startup
Hilaire Fernandes
hilaire at drgeo.eu
Sun Aug 1 03:41:28 PDT 2021
Inserting this instruction below in your script at some point may help,
try out and tell us.
self runningWorld doOneCycle.
It helped me for a correct computation of the RealEstate agent after
changing the scale of the taskbar.
Hilaire
Le 28/07/2021 à 18:56, Nicola Mingotti via Cuis-dev a écrit :
>
> I found a fix, just an hack.
>
> My conjecture was that the .st config script was running before GUI
> items were actually ready on the World.
> So i tried to put a little timeout copying from my old Squeak notes on
> fork and Delay ;)
>
> ------------ working -----------------
>
> [ |list tbar|
> (Delay forMilliseconds: 3000) wait.
> Transcript show: 'hello world'.
> list _ UISupervisor ui submorphs reject: [ :aMo | aMo is:
> #TaskbarMorph ].
> list do: [ :x | x delete ] .
> Preferences veryBigFonts .
> tbar _ (UISupervisor ui submorphs select: [ :x | x is: #TaskbarMorph
> ]) first.
> tbar scale: 1.4.
> ] fork.
>
> -----------------------------------------
>
> Please update the Cuis book ;) that is really important !
>
> bye
> n.
--
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210801/ac5ded0d/attachment-0001.htm>
More information about the Cuis-dev
mailing list