[Etoys] Force TileMorph height

Karl Ramberg karlramberg at gmail.com
Mon May 19 12:01:04 EDT 2008


Yoshiki Ohshima wrote:
>>>   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.
>>     
>
>   Cool.  #fixLayout is horrible, but if it continue to exist, it
> should as well do the best thing it can do.  Whenever you feel ok,
> please send the patch around.
It in this version of my TileMorph fix: 
http://dev.laptop.org/attachment/ticket/7009/ForceTileMorphHeight.2.cs

Karl


More information about the Etoys mailing list