[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] [sc-users] SCScrollView bounds change problem



Okay, I have a fix for this, but would like a little time to test it.

Does this mean we're looking at another RC?

S.

On 5 Feb 2008, at 00:10, Scott Wilson wrote:

Okay I know what it is. Just need to sort out the best solution.

S.

On 4 Feb 2008, at 17:52, Scott Wilson wrote:

It's a problem with the lang mutex. There's some tricky stuff that
needs to go on to get the scrollview to behave properly in corner
cases. I'll see if I can figure it out, but might not be in the
immediate future...

S.

On 4 Feb 2008, at 17:26, Wouter Snoei wrote:

Hi,

I got a stability problem with SCScrollView. If I run the following
code (based on example):

(
a = SCWindow.new.front;
b = SCScrollView(a, Rect(0, 0, 300, 300));
c = SC2DSlider(b, Rect(0, 0, 240, 240));
)

// everything is fine. No scrollbars because c is too small. If I
make the bounds of c bigger like this:

c.bounds_( Rect(0,0,400,400) );

// sliders appear. No problems yet. Now if I move the scrollbars a
bit like here:

b.visibleOrigin = 20@10; // or by hand

// and then change the bounds of c back to anything within 300,300
like so:

c.bounds_( Rect(0,0,240,240) );

// I get the eternal beachball.. What's happening?
//
// cheers,
// wouter

Wouter Snoei

info@xxxxxxxxxxxxxx
http://www.woutersnoei.nl

_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://lists.create.ucsb.edu/mailman/listinfo/sc-users
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://lists.create.ucsb.edu/mailman/listinfo/sc-users
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://lists.create.ucsb.edu/mailman/listinfo/sc-users