Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView Scrollbars are very quirky on 10.3!



I'm getting quite a lot of problems with NSScrollView on 10.3

The scrollbars are very quirky. Now, seeing as probably a large percent of Mac users have 10.3, I need to target this.

One problem that happens, is that autohiding of scrollers, doesn't seem to work properly. Basically, if I put more rows into an NSTableView than can be displayed, I get an unnecessary horizontal scroller displayed, in addition to the expected vertical scroller.

Why?

I'm getting other problems, which I have worked around, although I don't know if my work around isn't really the right way to do things. For example, autohidescrollers seems to lag a bit on 10.3, so what I'm doing is manually hiding the scrollers, by overriding certain draw methods.

And yes, I have considered that this could be causing the first problem, out of my own fault. I've explicitly disabled this manual hiding of scrollers just to test that I'm not causing the problem myself.

Any ideas, anyone? I'm more interseted in this problem of an unncessary horizontal scroller.

I've tried:

1) Scrolling the NSScroller in code, to triger NSScrollView removing the scroller like it does when I get the user to scroll the view. (Doesn't work.)

2) Setting "setHasHorizontalScroller" to false, and redrawing everything. (it gets set to false but it still displays with the horizontal scroller!)

Neither of these ideas work.


-- http://elfdata.com/plugin/

What does our work achieve, if it's not making the world a happier place?
http://www.whatnextjournal.co.uk/Pages/Next/Happiness.html
When's the last time you thought deeply about how to improve our lives?



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.