Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT: Get the right behavior from Tree and Table scrolling on Mac OS X  RSS feed

Davide Zanotti
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!