Tree without Scrollbars on Cocoa [message #479051] |
Sat, 08 August 2009 11:51  |
Eclipse User |
|
|
|
Hi,
I need to suppress the scroll bars of a Tree on OS X Cocoa, but I can't
find a way to do that.
(In my application I'm ganging up the Tree with another scrolled component
from which tree scrolling is controlled)
It would be great if there are portable solutions, but any solution,
including OS-specific ones, are welcome. Any ideas, examples or other
input would be greatly appreciated!
Thanks in advance,
Best Regards,
Bjorn Gustafsson
|
|
|
Re: Tree without Scrollbars on Cocoa [message #481871 is a reply to message #479051] |
Mon, 24 August 2009 11:33  |
Eclipse User |
|
|
|
Hi Bjorn, sorry for the late reply,
As of eclipse/swt 3.4 you can create Tables/Trees with style SWT.NO_SCROLL,
which turns off the default behaviour of always providing both scrollbars.
To show only a horizontal scrollbar for instance, you would use style
SWT.NO_SCROLL | SWT.H_SCROLL.
HTH,
Grant
"Bjorn Gustafsson" <bjorn@goodsoftware.ca> wrote in message
news:c283b25c84d446edae3a5bfb503fe0c5$1@www.eclipse.org...
> Hi,
> I need to suppress the scroll bars of a Tree on OS X Cocoa, but I can't
> find a way to do that.
> (In my application I'm ganging up the Tree with another scrolled component
> from which tree scrolling is controlled)
> It would be great if there are portable solutions, but any solution,
> including OS-specific ones, are welcome. Any ideas, examples or other
> input would be greatly appreciated!
>
> Thanks in advance,
>
> Best Regards,
> Bjorn Gustafsson
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02478 seconds