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 94981 - GTK - Revise borders around editor and view modes
Summary: GTK - Revise borders around editor and view modes
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords: GTK, L&F
Depends on:
Blocks: 72440
  Show dependency tree
 
Reported: 2007-02-08 16:11 UTC by mslama
Modified: 2012-11-07 13:50 UTC (History)
2 users (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 mslama 2007-02-08 16:11:22 UTC
Need to refine current borders
Comment 1 mslama 2007-02-08 16:15:36 UTC
First step. We might select better color. Now we use InternalFrame.borderShadow.

Modified:
/cvs/core/swing/plaf/src/org/netbeans/swing/plaf/gtk/GtkLFCustoms.java
new revision: 1.19; previous revision: 1.18
Comment 2 R Ramos 2007-02-09 17:07:54 UTC
For nicer borders I did the following:
Instead of 

Border lowerBorder = new AdaptiveMatteBorder (false, true, true, true, 3);//old

I wrote:

Border lowerBorder = new AdaptiveMatteBorder(true, true, true, true, 0);//new

in GtkLFCustoms.java from Milestone 6 around line 46

See here for results :
http://jroller.org/page/ramlog?entry=netbeans_and_yet_another_gtk
http://jroller.org/page/ramlog?entry=beautiful_netbeans_3

It's not perfect but it looks much improved this way.
Please integrate this "patch" for user's sake (at least temporarily)
Comment 3 mslama 2007-02-12 11:23:28 UTC
Your current border has insets 1 on all 4 sides. Our current border is not
painted on top. We want separate border on top painted by tabs similar to strip
painted by JTabbedPane. Another open question is color selection. We need to
select color from available UIManager theme colors which will be nice for all
(most) themes.
Comment 4 Lukas Hasik 2008-04-10 21:23:02 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 5 reinouts 2012-11-07 13:50:18 UTC
Here's an article detailing a workaround for some GTK L&F issues: 
http://www.ailis.de/~k/archives/67-Workaround-for-borderless-Java-Swing-menus-on-Linux.html