Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Loosing vertical scrollbar in netbeans nimbus LAF

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

like image 871
sylo Avatar asked Sep 16 '15 14:09

sylo


1 Answers

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));
like image 116
ashhappens Avatar answered Nov 18 '22 16:11

ashhappens