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.

Bug 212609

Summary: Incorrect editor tab alignment in Nimbus
Product: platform Reporter: Jesse Glick <jglick>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: VERIFIED FIXED    
Severity: normal Keywords: L&F
Priority: P4    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Comparison of editor tabs with JTabbedPane

Description Jesse Glick 2012-05-16 21:58:25 UTC
Created attachment 119551 [details]
Comparison of editor tabs with JTabbedPane

In a JTabbedPane in Nimbus, unselected tabs have approximately equal amounts of padding above and below the text, so they look "balanced"; the thin brighter-blue line beneath all the tabs which abuts the selected tab sort of adds extra padding below the text of the selected tab.

In a NetBeans editor tab row, the padding above the tab text is correct, but there is little or no padding below the tab text. The result looks reasonable for the selected tab but makes unselected tabs look truncated on the bottom.
Comment 1 Stanislav Aubrecht 2012-05-17 09:11:50 UTC
I moved text and icon one pixel up so it looks better now.

core-main 312346d13f20
Comment 2 Quality Engineering 2012-05-19 09:56:10 UTC
Integrated into 'main-golden', will be available in build *201205190400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/312346d13f20
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #212609 - Incorrect editor tab alignment in Nimbus
Comment 3 Jesse Glick 2012-05-21 14:00:40 UTC
Looks better now.

BTW a semirelated nit: there is insufficient left padding on the icon of the leftmost editor tab.