This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In the Tab Control module, the client property PROP_ORIENTATION isn't respected. But it would be even better if users could specify the tab orientation via the Branding Editor, separately for view and editor components.
that property actually applies to sliding tab containers only. editor and view tabs are custom painted so having adjustable tab header position would require a LOT of extra code to be written...
Yes, but that code must already be there, otherwise this wouldn't be possible: http://blogs.oracle.com/geertjan/entry/tabs_to_the_south
(In reply to comment #2) > Yes, but that code must already be there, otherwise this wouldn't be possible: > > http://blogs.oracle.com/geertjan/entry/tabs_to_the_south well, yes, the tab control code can do that but it doesn't look right. the tabs are painted the same way as if they were positioned at the top...
+1 It should be possible to set the orientation of tabs per mode.
+1 here for this improvement. Also, if you provide us with a clear pointer on what to change and in what direction, we could possibly (but without compromise) dedicate some resources to it and contribute back the changes. Best HJP
there are Aqua, Gtk, Metal, Nimbus, WinClassic, WinVista and WinXPViewTabDisplayerUI and XXXXEditorTabDisplayerUI classes in o.n.swing.tabcontrol module all of them must be modified to support tabs at the bottom (and left or right positions)
The basics should not be wildly difficult - TabDisplayer does all of the painting logic; changing where it sits in its container is not hard. Doing the work to have the tabs "face" a different way would be harder - would require subtle tweaks to painting logic.
There already is branding to change the tab location, see issue #150393 In latest dev builds there is also new TabbedContainer implementation which is backed by plain JTable - it also supports various tab orientations.