How to include other controls in a scrollbar?
Posted
by Paperflyer
on Stack Overflow
See other posts from Stack Overflow
or by Paperflyer
Published on 2010-04-19T14:36:16Z
Indexed on
2010/04/19
15:33 UTC
Read the original article
Hit count: 409
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?
© Stack Overflow or respective owner