NetBeans Nimbus LAF中的垂直滚动条丢失 [英] Loosing vertical scrollbar in netbeans nimbus LAF

查看:112
本文介绍了NetBeans Nimbus LAF中的垂直滚动条丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Netbeans 8.0.2和Nimbus外观. 在某一点上,当垂直滚动滑块变小时,它会消失.

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?

仅在Nimbus和Dark Nimbus LAF中会发生这种情况

This happens only in Nimbus and Dark Nimbus LAF

推荐答案

存在一个已提交的错误这里.假设这是您的问题,请在为Nimbus设置外观后,尝试添加:

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));

这篇关于NetBeans Nimbus LAF中的垂直滚动条丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆