You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ne...@apache.org on 2021/01/23 15:42:44 UTC
[netbeans] branch master updated: [NETBEANS-5025] Fix
wheel/trackpad scrolling in Options > Fonts & Colors > preview area
This is an automated email from the ASF dual-hosted git repository.
neilcsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 536f002 [NETBEANS-5025] Fix wheel/trackpad scrolling in Options > Fonts & Colors > preview area
new 184cd7a Merge pull request #2642 from DevCharly/NETBEANS-5025
536f002 is described below
commit 536f002c65d6e7252a60361891b281d9609f5997
Author: Karl Tauber <ka...@jformdesigner.com>
AuthorDate: Wed Jan 6 17:35:48 2021 +0100
[NETBEANS-5025] Fix wheel/trackpad scrolling in Options > Fonts & Colors > preview area
---
.../src/org/netbeans/modules/options/colors/SyntaxColoringPanel.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ide/options.editor/src/org/netbeans/modules/options/colors/SyntaxColoringPanel.java b/ide/options.editor/src/org/netbeans/modules/options/colors/SyntaxColoringPanel.java
index 0c434e8..750713e 100644
--- a/ide/options.editor/src/org/netbeans/modules/options/colors/SyntaxColoringPanel.java
+++ b/ide/options.editor/src/org/netbeans/modules/options/colors/SyntaxColoringPanel.java
@@ -171,6 +171,9 @@ public class SyntaxColoringPanel extends JPanel implements ActionListener,
}
}
);
+
+ spPreview.getVerticalScrollBar().setUnitIncrement(10);
+ spPreview.getHorizontalScrollBar().setUnitIncrement(10);
}
private void updateLanguageCombobox() {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists