NSTableView Scrollbars are very quirky on 10.3!
NSTableView Scrollbars are very quirky on 10.3!
- Subject: NSTableView Scrollbars are very quirky on 10.3!
- From: "Theodore H. Smith" <email@hidden>
- Date: Thu, 1 Sep 2005 00:08:17 +0100
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:
This email sent to email@hidden