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 7be1ef2  [NETBEANS-5026] Fix wheel/trackpad scrolling in notifications 
window
     new 9b5068b  Merge pull request #2703 from DevCharly/NETBEANS-5026
7be1ef2 is described below

commit 7be1ef295cd8f8e51930adf2e4f2dfa324f77b07
Author: Karl Tauber <k...@jformdesigner.com>
AuthorDate: Fri Jan 22 00:26:49 2021 +0100

    [NETBEANS-5026] Fix wheel/trackpad scrolling in notifications window
---
 .../modules/notifications/center/NotificationCenterTopComponent.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/ide/notifications/src/org/netbeans/modules/notifications/center/NotificationCenterTopComponent.java
 
b/ide/notifications/src/org/netbeans/modules/notifications/center/NotificationCenterTopComponent.java
index 37054cd..c1c0238 100644
--- 
a/ide/notifications/src/org/netbeans/modules/notifications/center/NotificationCenterTopComponent.java
+++ 
b/ide/notifications/src/org/netbeans/modules/notifications/center/NotificationCenterTopComponent.java
@@ -109,6 +109,8 @@ public final class NotificationCenterTopComponent extends 
TopComponent {
         lblEmptyDetails.setEnabled(false);
 
         JScrollPane scrollPane = new JScrollPane(detailsPanel);
+        scrollPane.getVerticalScrollBar().setUnitIncrement(10);
+        scrollPane.getHorizontalScrollBar().setUnitIncrement(10);
         splitPane.setRightComponent(scrollPane);
 
         toolBar.setFocusable(false);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to