mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
shorten details link to prevent scrollbars appearing
This commit is contained in:
parent
038069f6e6
commit
eda96af607
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ public class TitledDescriptionPane extends TitledPane {
|
||||||
|
|
||||||
descriptionLabel = new Label(description);
|
descriptionLabel = new Label(description);
|
||||||
descriptionLabel.getStyleClass().add("description-label");
|
descriptionLabel.getStyleClass().add("description-label");
|
||||||
showHideLink = new Hyperlink("Show Details...");
|
showHideLink = new Hyperlink("Details...");
|
||||||
showHideLink.managedProperty().bind(showHideLink.visibleProperty());
|
showHideLink.managedProperty().bind(showHideLink.visibleProperty());
|
||||||
showHideLink.setOnAction(event -> {
|
showHideLink.setOnAction(event -> {
|
||||||
setExpanded(!this.isExpanded());
|
setExpanded(!this.isExpanded());
|
||||||
|
|
Loading…
Reference in a new issue