mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
change show delay duration for help tooltips to 500ms
This commit is contained in:
parent
ba199ff11b
commit
1f51f632c4
2 changed files with 2 additions and 1 deletions
2
drongo
2
drongo
|
@ -1 +1 @@
|
||||||
Subproject commit 74e32bab3d4f229e1b0207c7980c99e04c5115fa
|
Subproject commit d1088fe9ee6da0e53fcfdff020cab3c16c15702b
|
|
@ -21,6 +21,7 @@ public class HelpLabel extends Label {
|
||||||
tooltip.textProperty().bind(helpTextProperty());
|
tooltip.textProperty().bind(helpTextProperty());
|
||||||
tooltip.graphicProperty().bind(helpGraphicProperty());
|
tooltip.graphicProperty().bind(helpGraphicProperty());
|
||||||
tooltip.setShowDuration(Duration.seconds(15));
|
tooltip.setShowDuration(Duration.seconds(15));
|
||||||
|
tooltip.setShowDelay(Duration.millis(500));
|
||||||
getStyleClass().add("help-label");
|
getStyleClass().add("help-label");
|
||||||
|
|
||||||
Platform.runLater(() -> setTooltip(tooltip));
|
Platform.runLater(() -> setTooltip(tooltip));
|
||||||
|
|
Loading…
Reference in a new issue