SWT: Get the right behavior from Tree and Table scrolling on Mac OS X
posted 9 years ago
On Mac OS X, in the Tree and Table widgets, the scrollbars are always visible. Is there a way to hide them? (at least the horizontal one). I've tried several "tricks", like myTree.getHorizontalBar().setVisible(false), myTree.getHorizontalBar().setEnabled(false), and myTree.getHorizontalBar().dispose(), which remove the scrollbar but leaves a colored rectangle (based on the shell color used) and the square of the intersection between vertical and horizontal scrollbar. I'm going crazy!