Improving 10.3 scroll bar auto-hide behaviour?
Improving 10.3 scroll bar auto-hide behaviour?
- Subject: Improving 10.3 scroll bar auto-hide behaviour?
- From: "Theodore H. Smith" <email@hidden>
- Date: Fri, 12 Aug 2005 14:21:46 +0100
Hi people,
I've got this app that behaves a little differently on 10.3 and 10.4.
I'm not sure if this is because 10.4 is more forgiving of coder
mistakes, or simply that I must do some extra work on 10.3 that 10.4
gives me for free.
Basically, all my NSOutlineViews, will display a scroll bar when it's
not necessary.
It works like this:
1) No scroll bar is visible, and a few items are in the NSOutlineViews
2) I add an item ot the NSOutlineViews data source.
3) I call reloaditem
4) A vertical scroll bar appears in the NSOutlineView, even though
there is plenty of vertical empty space!
5) If I resize the NSOutlineView by resizing the window, or otherwise
resizing it, the scrollbar dissappears!
So it seems I can "unconfuse" the UI, by triggering some scrollbar
checking code called by a resize event.
This problem doesn't appear in 10.4.
Also, I don't notice other apps with this problem in 10.3? So why is
my app not working like other 10.3 apps do?
This is why I'm wondering if maybe the problem is that 10.4 is more
forgiving. But really I can't see what is wrong with my interface.
All these NSOutlineViews by the way, have autoHideScroller set to
true in IB.
Or maybe Safari/Mail/Console/etc, for 10.3, are actually "triggering"
this scrollbar detection manually?
Thanks for any help anyone!
--
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