How to always visible horizontal scrollbar of NSTableview in objective c programmatically?

722 Views Asked by At

I have added NSTableview with multiple columns, I want its horizontal scrollbar should always visible, How to achieve this?

1

There are 1 best solutions below

0
user8154740 On BEST ANSWER

I create NSScrollview outlet & set in .xib file to superview of NSTableview & used two methods. - setAutohidesScrollers set NO, - setScrollerStyle: set NSScrollerStyleLegacy Set style NSScrollerStyleLegacy meaning is NSSCrollbars background is not transparent. This solved my problem, Hope it will help others.