Fixed: #1622 Slow scrolling (search results, advanced settings and others)

This commit is contained in:
Jindra Petřík
2021-02-27 09:28:10 +01:00
parent a597625239
commit b08567de7a
31 changed files with 116 additions and 56 deletions

View File

@@ -117,8 +117,7 @@ public class GraphDialog extends AppDialog {
});
setTitle(translate("graph") + " " + name);
JScrollPane scrollPane = new JScrollPane(gp);
scrollPane.getVerticalScrollBar().setUnitIncrement(20);
JScrollPane scrollPane = new FasterScrollPane(gp);
scrollBarWidth = scrollPane.getVerticalScrollBar().getPreferredSize().width;
scrollBarHeight = scrollPane.getHorizontalScrollBar().getPreferredSize().height;
cnt.add(scrollPane, BorderLayout.CENTER);