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 135711

Summary: [NIMBUS] Fix painting of view/editor tabs to follow JTabbedPane
Product: platform Reporter: mslama <mslama>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: blocker CC: hmichel, mslama, pchytil
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 120656    
Attachments: Patch for tabs painting from Jean Morissette
Patch for tabs overlap from Jean Morissette

Description mslama 2008-05-23 15:25:32 UTC
a) color of active tab is too dark, currently mouse pressed state is used.
b) use tab area background painter to paint also line below tabs
Comment 1 Lukas Hasik 2008-11-19 13:45:44 UTC
*** Issue 151039 has been marked as a duplicate of this issue. ***
Comment 2 Lukas Hasik 2008-11-19 13:46:52 UTC
c) the font is hardcoded to black - see duplicate issue 151039
Comment 3 mslama 2008-11-26 14:39:10 UTC
There is inset for tabs. Remaining area is to be painted by another painter.

There are insets in from the TabArea to the Tabs it contains. They are:

top="3" bottom="4" left="10" right="10" 

and then use painter for TabbedPane:TabbedPaneTabArea
Comment 4 mslama 2009-01-30 09:13:32 UTC
Created attachment 76365 [details]
Patch for tabs painting from Jean Morissette
Comment 5 mslama 2009-01-30 09:20:08 UTC
core-main #b0ef32cd2b07
Comment 6 Quality Engineering 2009-01-30 19:57:11 UTC
Integrated into 'main-golden', will be available in build *200901301401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b0ef32cd2b07
User: Marek Slama <mslama@netbeans.org>
Log: #135711: Improve painting of tabs on Nimbus.
Comment 7 mslama 2009-02-02 12:49:31 UTC
Created attachment 76458 [details]
Patch for tabs overlap from Jean Morissette
Comment 8 mslama 2009-02-02 12:51:00 UTC
core-main #0a1ff1b027c5 Fix tabs overlap. Tabs should overlap by 1 pixel so that border between tabs is 1 px wide
instead of 2px.
Comment 9 Quality Engineering 2009-02-03 08:34:16 UTC
Integrated into 'main-golden', will be available in build *200902030229* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0a1ff1b027c5
User: Marek Slama <mslama@netbeans.org>
Log: #135711: Fix tabs overlap.