mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Small bug fixes [release]
This commit is contained in:
parent
84931ed6ad
commit
241362dce0
3 changed files with 6 additions and 6 deletions
|
@ -7,6 +7,7 @@ import io.xpipe.extension.fxcomps.augment.GrowAugment;
|
||||||
import io.xpipe.extension.fxcomps.impl.HorizontalComp;
|
import io.xpipe.extension.fxcomps.impl.HorizontalComp;
|
||||||
import io.xpipe.extension.fxcomps.impl.VerticalComp;
|
import io.xpipe.extension.fxcomps.impl.VerticalComp;
|
||||||
import io.xpipe.extension.fxcomps.util.BindingsHelper;
|
import io.xpipe.extension.fxcomps.util.BindingsHelper;
|
||||||
|
import javafx.beans.binding.Bindings;
|
||||||
import javafx.collections.FXCollections;
|
import javafx.collections.FXCollections;
|
||||||
import javafx.collections.ObservableList;
|
import javafx.collections.ObservableList;
|
||||||
import javafx.scene.layout.*;
|
import javafx.scene.layout.*;
|
||||||
|
@ -79,10 +80,6 @@ public class StoreEntrySection implements StorageFilter.Filterable {
|
||||||
});
|
});
|
||||||
List<Comp<?>> topEntryList = top ? List.of(root) : List.of(icon, root);
|
List<Comp<?>> topEntryList = top ? List.of(root) : List.of(icon, root);
|
||||||
|
|
||||||
if (children.size() == 0) {
|
|
||||||
return new HorizontalComp(topEntryList);
|
|
||||||
}
|
|
||||||
|
|
||||||
var all = children;
|
var all = children;
|
||||||
var shown = BindingsHelper.filteredContentBinding(
|
var shown = BindingsHelper.filteredContentBinding(
|
||||||
all,
|
all,
|
||||||
|
@ -103,7 +100,8 @@ public class StoreEntrySection implements StorageFilter.Filterable {
|
||||||
return new VerticalComp(List.of(
|
return new VerticalComp(List.of(
|
||||||
new HorizontalComp(topEntryList),
|
new HorizontalComp(topEntryList),
|
||||||
new HorizontalComp(List.of(spacer, content))
|
new HorizontalComp(List.of(spacer, content))
|
||||||
.apply(struc -> struc.get().setFillHeight(true))));
|
.apply(struc -> struc.get().setFillHeight(true))
|
||||||
|
.hide(Bindings.size(children).isEqualTo(0))));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
2
dist/changelogs/0.4.26.md
vendored
Normal file
2
dist/changelogs/0.4.26.md
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
- Improve tool integrations for all platforms
|
||||||
|
- Fix small display bugs
|
2
version
2
version
|
@ -1 +1 @@
|
||||||
0.4.25
|
0.4.26
|
Loading…
Reference in a new issue