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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists