Re: enlarging an NSScrollView, scrollbar size is wrong
Re: enlarging an NSScrollView, scrollbar size is wrong
- Subject: Re: enlarging an NSScrollView, scrollbar size is wrong
- From: Matt Gemmell <email@hidden>
- Date: Sat, 21 Jun 2003 22:19:33 +0100
On 21/6/03 at 10:07 pm, arekkusu said:
>
Hi, followup on my question about resizing a scrollview inside a
>
splitview causing the scrollbar to display incorrectly:
>
>
I've isolated this to a minimal test project and made it available at
>
http://idisk.mac.com/arekkusu/Public/SplitViewScrollBar.dmg
>
toggling the "bug" checkbox moves the splitview over to the window
>
edge, where I want it. Now:
>
clicking "Shrink" collapses the bottom panel by 40 pixels. The
>
scrollbar is still OK.
>
clicking "Grow" uncollapses the bottom panel by 40 pixels. This time
>
the scrollbar height is not correct and there is a 40 pixel tall white
>
chunk missing at the bottom.
Just a note to say that I spent about half an hour playing with Alex's
code this morning, and not only can I confirm that there seems to be a
genuine bug there (probably in NSScrollView's handling of its
NSScrollers, when it's near a window edge), but also I could not fix the
display glitch, despite trying everything I could think of.
I'd be really interested to know if anyone can provide a workaround
and/or explanation for the problem.
Cheers,
-Matt
--
Matt Gemmell
Scotland Software
http://www.scotlandsoftware.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.