Fix alpine linux dir listings being empty

This commit is contained in:
crschnick 2023-06-03 18:17:17 +00:00
parent cc9941e276
commit ae6a3ecb36

View file

@ -67,15 +67,18 @@ public class BrowserFilterComp extends Comp<BrowserFilterComp.Structure> {
});
text.setPrefWidth(0);
text.setFocusTraversable(false);
button.getStyleClass().add(Styles.FLAT);
button.disableProperty().bind(model.getInOverview());
expanded.addListener((observable, oldValue, val) -> {
if (val) {
text.setPrefWidth(250);
text.setFocusTraversable(true);
button.getStyleClass().add(Styles.RIGHT_PILL);
button.getStyleClass().remove(Styles.FLAT);
} else {
text.setPrefWidth(0);
text.setFocusTraversable(false);
button.getStyleClass().remove(Styles.RIGHT_PILL);
button.getStyleClass().add(Styles.FLAT);
}