I added the BalloonMorph class>>initialize in the same ticket http://code.google.com/p/pharo/issues/detail?id=3694 Steph, can you recall me if the class initialize method is called automatically at start up or something like that or does it need to be called manually? Hilaire Le 14/05/2011 15:36, Stéphane Ducasse a écrit :
ok hiliare open a ticket and put an initialize.
Stef
On May 14, 2011, at 3:29 PM, Hilaire Fernandes wrote:
The balloon morph color and layout mess really give a bad bad feeling,
I gave a look to try to fix it:
* COLOR, it seems to be just an initialize issue, one should execute this in the image:
BalloonMorph setBalloonColorTo: BalloonMorph defaultBalloonColor.
* FONT, same problem, one should execute in the image :
BalloonMorph balloonFont: StandardFonts defaultFont.
* LAYOUT, the problem comes from the method String>>withNoLineLongerThan: doing very badly its job.
Moreover this method need to be refactored to be readable, it is too looooong. Jannick can you give a try, you seem to be the author?
Hilaire