I want to create a scrollview with a zooming control and a button next to the scrollbar. Sort of like the "tile window" button in XCode (top right corner of the editor), it should be in the same box that usually is used by the scrollbar only.
Do you have an idea of how to approach this?
I was thinking to use an NSScrollView
and set the scrollbars to a custom subclass of NSScroller
which includes the other widgets. What kinds of buttons use the same style as the scrollbar?