mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.14k stars 235 forks source link

File Chooser: scrollbars have small block increment #162

Open Sciss opened 10 years ago

Sciss commented 10 years ago

I think the scrollbar settings in the file chooser are wrong. Both in the left-hand side tree view and the right-hand side file view, the scrollbar block increments are too small. You would normally expect to scroll like half a page with each click outside the knob's thumb. But actually you scroll only a few pixels.

mgarin commented 10 years ago

This is actually a general issue for every scrollpane. But yes, I will tune these settings for all scrollpanes used within complex components. I will add those enhancements with v1.29 update.

PeterMacGonagan commented 9 years ago

May be add:

    WebScrollPane webScrollPane = new WebScrollPane(...);
    webScrollPane.setHorizontalIncrement(...);
    webScrollPane.setVerticalIncrement(...);
mgarin commented 9 years ago

It can be solved by code, but it is still pretty bad that default values aren't useful in most cases.