[squeak-dev] Re: Weird Morphic layout problem

Chris Muller asqueaker at gmail.com
Sun Jan 9 17:10:49 UTC 2011


Hi Sean, I've had to put statements like that into one or two places
in Maui to help with layout, but even then it isn't always perfect.  I
will be very interested if you find a solution!

My perception is that Morph layout has an element of feedback; where
laying-out morphs causes other morphs to need to be laid out (hmm,
I'll just say "formatted").  I've even noticed in Maui that,
sometimes, it takes multiple World cycles for everything to be laid
out correctly.

It's extremely hard to debug since you can't use the debugger (because
pausing in the debugger doesn't stop the world's heartbeat).

Anyway, I wish you luck and I hope you;ll share what you find, I'll be
interested!

  - Chris


On Sat, Jan 8, 2011 at 9:13 PM, Sean P. DeNigris <sean at clipperadams.com> wrote:
>
>
> Karl Ramberg wrote:
>>
>> If you can fix this you get a star in my book ;-)
>> Some layout issues seem to not "register" untill the morph is opened in
>> the
>> world. Some issues not even then.
>>
>
> Still hunting down the bug, but I came up with a quick workaround:
> WorldState addDeferredUIMessage: [ aMorph layoutChanged ]
>
> Sean
> --
> View this message in context: http://forum.world.st/Weird-Morphic-layout-problem-tp3178526p3205631.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>



More information about the Squeak-dev mailing list