mirror of
https://github.com/DanilaFe/abacus
synced 2024-11-17 08:03:09 -08:00
Change the width property bound to the width.
This commit is contained in:
parent
400e4578a0
commit
6767a0e4aa
|
@ -33,7 +33,7 @@ public class DocumentationCell extends ListCell<Documentation> {
|
|||
titledPane.textProperty().bindBidirectional(codeNameLabel.textProperty());
|
||||
titledPane.setContent(vbox);
|
||||
titledPane.setExpanded(false);
|
||||
titledPane.maxWidthProperty().bind(widthProperty());
|
||||
titledPane.prefWidthProperty().bind(widthProperty());
|
||||
|
||||
visibleProperty().addListener((a, b, c) -> titledPane.setExpanded(false));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user