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 - Incorrect editor tab alignment in Nimbus
Summary: Incorrect editor tab alignment in Nimbus
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.2
Hardware: PC Linux
: P4 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: L&F
Depends on:
Blocks:
 
Reported: 2012-05-16 21:58 UTC by Jesse Glick
Modified: 2012-05-21 14:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Comparison of editor tabs with JTabbedPane (41.57 KB, image/png)
2012-05-16 21:58 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
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.