Loosing vertical scrollbar in netbeans nimbus LAF
Asked Answered
C

1

5

I'm using Netbeans 8.0.2 and the Nimbus Look And Feel. At a certain point, when the vertical scroll slider becomes small, it disappears.

Has anyone the same behavior or any fix for that problem?

EDIT: This happens only in Nimbus and Dark Nimbus LAF

Comedian answered 16/9, 2015 at 14:50 Comment(1)
Meanwhile the bug is fixedComedian
W
7

There is a bug filed here. Assuming this is your problem, after setting your look and feel to Nimbus, try adding:

LookAndFeel lookAndFeel = UIManager.getLookAndFeel();
UIDefaults defaults = lookAndFeel.getDefaults();
defaults.put("ScrollBar.minimumThumbSize", new Dimension(30, 30));
Womanize answered 24/9, 2015 at 21:13 Comment(2)
HI thanks for your hint. This is exactly the behavior. Wait for fix from openJdk.Comedian
Thank you for the answer but add to where?Turgeon

© 2022 - 2024 — McMap. All rights reserved.