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 86267 - GTK - Source Editor Tabs L&F, Nimbus theme
Summary: GTK - Source Editor Tabs L&F, Nimbus theme
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: PC Solaris
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords: GTK, L&F
Depends on:
Blocks: 72440
  Show dependency tree
 
Reported: 2006-10-01 15:16 UTC by Josef Holy
Modified: 2008-12-22 17:43 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Holy 2006-10-01 15:16:14 UTC
The Source Editor Tabs don't follow the GTK L&F. Their reaction to different
mouse-related events need to be designed and implemented ion order to follow the
Nimbus L&F specification. Their close button needs to be designed and implemented.
Comment 1 mslama 2006-11-09 13:26:21 UTC
Use new UI class for editor tabs UI:
/cvs/core/swing/plaf/src/org/netbeans/swing/plaf/gtk/GtkLFCustoms.java
new revision: 1.18; previous revision: 1.17
Comment 2 mslama 2006-11-09 14:06:17 UTC
Use native tabs. Some height adjustment is done:
/cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/GtkEditorTabCellRenderer.java
new revision: 1.6; previous revision: 1.5

/cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/GtkEditorTabDisplayerUI.java
new revision: 1.5; previous revision: 1.4

TBD: Add new icons.
Comment 3 mslama 2006-12-18 11:47:09 UTC
Adjust tab size and vertical position of icon, text and close button.
Selected tab height is 1pixel greater:
/cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/GtkEditorTabCellRenderer.java
new revision: 1.7; previous revision: 1.6

/cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/GtkEditorTabDisplayerUI.java
new revision: 1.6; previous revision: 1.5