2015-12-09 15:13 GMT+01:00 Ferlicot D. Cyril <cyril.ferlicot@gmail.com>:
Hi,
I wanted to execute an action each time we resize some window and I wanted to see easily if the method layoutChanged is call each time we resize it.
To test that I added «Transcript crShow: DateAndTime now asString» inside the method TransforMorph>>#layoutChanged. I wanted to resize a TransformMorph and check the transcript. But went I opened the Transcript⦠Surprise ! I had a lot of lines.
I did the same in a new image of Pharo 5 and even with only 2 TransformMorph in the image there is A LOT of call to the method all the time.
Is that normal ?
I thnk the Transcript scroller uses a TransformMorph as well.
Here an example: http://s11.postimg.org/n4rtz6xm9/Pharo_Screenshot.png
-- Cyril Ferlicot
165 Avenue Bretagne Lille 59000 France