Skip to content

Commit

Permalink
No longer showing the "filters" pane when the only filter is the text…
Browse files Browse the repository at this point in the history
… filter.
  • Loading branch information
dlemmermann committed Sep 10, 2024
1 parent 44490d3 commit f751a0c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public FilterViewSkin(FilterView<T> view) {

filtersPane.getStyleClass().add("filters");
filtersPane.prefWrapLengthProperty().bind(view.widthProperty());
filtersPane.visibleProperty().bind(Bindings.isNotEmpty(filtersPane.getChildren()));
filtersPane.managedProperty().bind(Bindings.isNotEmpty(filtersPane.getChildren()));
filtersPane.visibleProperty().bind(Bindings.isNotEmpty(view.getFilters()));
filtersPane.managedProperty().bind(Bindings.isNotEmpty(view.getFilters()));
filtersPane.setMinHeight(Region.USE_PREF_SIZE);

searchTextField.visibleProperty().bind(view.textFilterProviderProperty().isNotNull());
Expand Down

0 comments on commit f751a0c

Please sign in to comment.