How can I set the vertical scroller style in NSScrollView
?
Asked
Active
Viewed 1,706 times
1

jscs
- 63,694
- 13
- 151
- 195

user718408
- 101
- 1
- 14
2 Answers
1
Yes you can set the size in Xcode.
Or rather in Interface Builder:
Make sure to expand the objects panel on the left.
Then you can see two NSScroller
objects in the scroll view.
Just select them and set the control size in the Inspector Panel to Small
or Mini
.

IluTov
- 6,807
- 6
- 41
- 103
1
If you're using Interface Builder, deselect "automatically hide scrollers". The scroll bars then become visible. Click a scroll bar and edit its control size attributes in the inspector.
If you're doing this in code:
NSScrollView* myScrollView = ...;
[[myScrollView verticalScroller] setControlSize: NSSmallControlSize]; // or whatever

Joakim Braun
- 31
- 6
-
How about in Xcode? Can I edit its control size attributes in Xcode? – user718408 Jun 16 '11 at 14:17