Community
Participate
Working Groups
Build Identifier: 20100617-1415 If there are too many tabs in the TabFolder to show in the application window (i.e., too wide), a Mac (cocoa) SWT application will not show a "scroll" widget to let you browse offscreen tabs. This scroll widget IS visible when exporting to and running under Windows 7. For example: TabFolder in ViewPart, added 25 tabs. This is too wide for my application window, so it will show the first 10 or so and additional tabs simply run off the screen to the right. I can expand the application window (to a point) to see them, but if there are too many tabs to show for my screen resolution then they will never be visible. Reproducible: Always Steps to Reproduce: 1. Create a ViewPart with a org.eclipse.swt.widgets.TabFolder 2. Add many tabs to the TabFolder 3. Run on a Mac (cocoa).
Unfortunately NSTabView doesn't support a popup or scrollable view when there are more tabs than space available; the Mac UI guidelines discourage having that many tabs. :-) I can set the tab view to allow label truncation, but that doesn't seem to have any effect.
As mentioned in comment #1, this is not supported natively by NSTabView.