I’m putting a WebView in an NSPanel and would like it to use small scroll bars.
How do I tell it to? (Can’t be done in Interface Builder)
I realize a WebView has a number of different types of subviews, depending on the content that’s loaded. But suppose I’m loading a web page with no frames. What view would contain the main vertical scroll bar? Is there an NSScrollView somewhere or is this managed differently?
Once a document has loaded into a frame you can access the
NSViewfor the document and then access its enclosing scroll view, allowing you to set the scrollers to the size you want: