Problem with org.eclipse.swt.widgets.TabFolder [message #1058035] |
Fri, 10 May 2013 10:51  |
Eclipse User |
|
|
|
Hi,
I have a little problem with org.eclipse.swt.widgets.TabFolder:
When there are more tabItems than fit into the width of the tabFolder, then they are cut off. See the example in the attached image.
This is produced by simply adding these lines of code to View.createPartControl(Composite) of the example template
'RAP Application with a View':
TabFolder folder = new TabFolder(parent , SWT.TOP);
TabItem item;
for (int i=0; i<10; i++) {
item = new TabItem(folder, SWT.NONE);
item.setText("Item " + i);
}
In the RCP version there appear some arrow buttons to scroll the tabItems, but in the RAP these buttons are missing.
Thanks,
Julia
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.13124 seconds