shorten details link to prevent scrollbars appearing

This commit is contained in:
Craig Raw 2020-12-16 12:10:01 +02:00
parent 038069f6e6
commit eda96af607

View file

@ -61,7 +61,7 @@ public class TitledDescriptionPane extends TitledPane {
descriptionLabel = new Label(description);
descriptionLabel.getStyleClass().add("description-label");
showHideLink = new Hyperlink("Show Details...");
showHideLink = new Hyperlink("Details...");
showHideLink.managedProperty().bind(showHideLink.visibleProperty());
showHideLink.setOnAction(event -> {
setExpanded(!this.isExpanded());