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 - [NIMBUS] Fix painting of view/editor tabs to follow JTabbedPane
Summary: [NIMBUS] Fix painting of view/editor tabs to follow JTabbedPane
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
: 151039 (view as bug list)
Depends on:
Blocks: 120656
  Show dependency tree
 
Reported: 2008-05-23 15:25 UTC by mslama
Modified: 2012-01-10 13:28 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch for tabs painting from Jean Morissette (5.34 KB, text/plain)
2009-01-30 09:13 UTC, mslama
Details
Patch for tabs overlap from Jean Morissette (2.76 KB, text/plain)
2009-02-02 12:49 UTC, mslama
Details

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