[Etoys] Force TileMorph height

Karl Ramberg karlramberg at gmail.com
Sat May 17 04:19:06 EDT 2008


Yoshiki Ohshima wrote:
>>>   I'd be happy to push it as it looks like this is a right solution
>>> for a problem, but is there an easy way to see the "sometimes" case?
>>> How do I reproduce?
>>>       
>> Also if this change could be forced on old scripts, layout ugliness like 
>> attached pict could be history
>>     
>
>   Hmm.  It is conceivable.  We have horrible #fixLayout method that
> almost do it.  It could traverse the script editor and install the
> cell size value.  (Which it should, in case we change the default
> font.)
I made a change just like that and it seems to work pretty well. I 
noticed it missed old random number tiles, I have to look into that. But 
for the rest of the script it got a improved look.

I have not tested with really old scripts from before the font changes 
yet, but I guess it should work.

Karl



More information about the etoys-dev mailing list