How do I add scrollbars to the content of a TabFolder? [message #157448] |
Mon, 19 June 2006 11:05 |
Eclipse User |
|
|
|
How do I add a working scrollbar to the content of a TabFolder?
I have tried:
TabFolder tabFolder = new TabFolder(this, SWT.PUSH);
Composite aComposite = new Composite(tabFolder,
SWT.H_SCROLL|SWT.V_SCROLL, getEditor());
---------- ALSO TRIED------------
TabFolder tabFolder = new TabFolder(this, SWT.PUSH);
Composite aComposite = new Composite(tabFolder, SWT.NONE, getEditor());
TabItem aTabItem = new TabItem(tabFolder, SWT.H_SCROLL|SWT.V_SCROLL);
aTabItem.setText("Http Services");
aTabItem.setControl(aComposite );
--------------------------------------
Both options give me scrollbars that do not move the content. It is like
the scrollbars are in a different plane than the content so nothing
scrolls. Can anyone help me. By the way I am using only SWT libraries in
eclipse 3.1.2
|
|
|
Powered by
FUDForum. Page generated in 0.07765 seconds