Browse Source

change show delay duration for help tooltips to 500ms

terminal
Craig Raw 3 years ago
parent
commit
1f51f632c4
  1. 2
      drongo
  2. 1
      src/main/java/com/sparrowwallet/sparrow/control/HelpLabel.java

2
drongo

@ -1 +1 @@
Subproject commit 74e32bab3d4f229e1b0207c7980c99e04c5115fa
Subproject commit d1088fe9ee6da0e53fcfdff020cab3c16c15702b

1
src/main/java/com/sparrowwallet/sparrow/control/HelpLabel.java

@ -21,6 +21,7 @@ public class HelpLabel extends Label {
tooltip.textProperty().bind(helpTextProperty());
tooltip.graphicProperty().bind(helpGraphicProperty());
tooltip.setShowDuration(Duration.seconds(15));
tooltip.setShowDelay(Duration.millis(500));
getStyleClass().add("help-label");
Platform.runLater(() -> setTooltip(tooltip));

Loading…
Cancel
Save