Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 231701 - nimbus laf in NB has problems with font sizes
nimbus laf in NB has problems with font sizes
Status: NEW
Product: platform
Classification: Unclassified
Component: Window System
PC Linux
: P3 with 7 votes (vote)
Assigned To: Stanislav Aubrecht
: 256120 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2013-06-24 09:31 UTC by Ondrej Vrabec
Modified: 2017-04-14 13:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

IDE log (50.26 KB, text/plain)
2013-06-24 09:31 UTC, Ondrej Vrabec
menu screenshot (46.24 KB, image/png)
2013-06-24 09:31 UTC, Ondrej Vrabec
options screenshot (69.71 KB, image/png)
2013-06-24 09:32 UTC, Ondrej Vrabec

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Vrabec 2013-06-24 09:31:17 UTC
Product Version = NetBeans IDE Dev (Build 20130617-ab3512bc7eab)
Operating System = Linux version 3.7.10-1.1-desktop running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

using Dark Nimbus laf, the IDE running with "--fontsize 18" option
The IDE mixes font-sizes in swing components, see the attached screenshots:
1) menu (both popup and main menu) displays submenu labels in smaller font than other menu items
2) tab titles (such as in Tools -> Options -> Misc) uses different sizes for active and other tabs
3) menu bar in the main window uses small fonts (in default size, i guess 12pt ?)
Comment 1 Ondrej Vrabec 2013-06-24 09:31:21 UTC
Created attachment 136202 [details]
IDE log
Comment 2 Ondrej Vrabec 2013-06-24 09:31:48 UTC
Created attachment 136203 [details]
menu screenshot
Comment 3 Ondrej Vrabec 2013-06-24 09:32:13 UTC
Created attachment 136204 [details]
options screenshot
Comment 4 Stanislav Aubrecht 2013-06-24 13:54:15 UTC
core-main ef2ef9570fe7 makes it a bit better. However there are still some component types that use the default font size.

Nimbus l&f implementation must be really robust if it resist font changes so much...
Comment 5 mclaborn 2013-12-11 16:55:27 UTC
+1 for a fix on this. My tired, old eyes would really thank you.
Comment 6 Martin Entlicher 2016-05-16 09:41:07 UTC
*** Bug 256120 has been marked as a duplicate of this bug. ***
Comment 7 Martin Entlicher 2016-05-16 09:42:55 UTC
There seems to be a race-condition in Nimbus. The size varies between IDE restarts.
Comment 8 homberghp 2017-04-14 10:45:22 UTC
(In reply to Martin Entlicher from comment #7)
> There seems to be a race-condition in Nimbus. The size varies between IDE
> restarts.

This is what I observe too. Nimbus, 8.2, Ubuntu 16.04 Unity
Comment 9 mclaborn 2017-04-14 13:27:47 UTC
Still a problem for me in Ubuntu 16.04 with XFCE.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo