change show delay duration for help tooltips to 500ms

This commit is contained in:
Craig Raw
2022-03-29 12:10:47 +02:00
parent ba199ff11b
commit 1f51f632c4
2 changed files with 2 additions and 1 deletions
@@ -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));