Re: Initial scroller style

2016-05-04 Thread Quincey Morris
On May 3, 2016, at 21:21 , Quincey Morris  
wrote:
> 
> these scrollers are shown in scroll bar “channels” on the right and bottom of 
> the scroll view

Well, I found out what’s causing this, though not why.

My content view actually consists of (top to bottom):

1. A scroll view, with a size-constrained document view that’s bigger than the 
scroll view.

2. A horizontal rule.

3. A status bar, which happens to be implemented as a horizontal stack view 
with a fixed height of 25.

It’s the horizontal rule that causes the scroll view to show the “wrong” style 
of scroll bars, both in IB and initially at run time. If I delete the 
horizontal rule, or if I enclose it and the status bar in a vertical stack 
view, the problem goes away.

Incidentally, IB undo seems to be severely broken in 7.3.1. IB frequently gets 
into a “won’t undo” state. The Edit menu shows the correct “Undo XXX” menu 
item, but choosing it has no effect. Conversely, when undo does work, it 
doesn’t necessarily update the inspector values to match the change.


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Initial scroller style

2016-05-03 Thread Quincey Morris
I’m designing a new OS X UI via a storyboard, which is mostly a scroll view 
with a fixed-size documentView. If the scroll view is smaller than the 
documentView, IB shows scrollers in the design canvas, which is OK. What’s not 
OK is that these scrollers are shown in scroll bar “channels” on the right and 
bottom of the scroll view, even though I’d expect overlay scrollers (I’m using 
a trackpad, not a mouse).

If I run the app, it also shows scroll bar channels, which is flat-out wrong — 
they should definitely be overlay scrollers at that point, just like in every 
other app I run. If I start to resize the window by dragging, the scrollers 
instantly switch to the overlay style.

Can anyone suggest a way of getting the expected overlay scrollers initially?




___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com