Fix mini section size with one element

This commit is contained in:
crschnick 2024-01-05 08:00:59 +00:00
parent fcba5d1c54
commit 16de992c29

View file

@ -103,8 +103,7 @@ public class StoreSectionMiniComp extends Comp<CompStructure<VBox>> {
section.getAllChildren()) : section.getShownChildren();
var content = new ListBoxViewComp<>(listSections, section.getAllChildren(), (StoreSection e) -> {
return StoreSectionMiniComp.builder().section(e).augment(this.augment).build();
}).withLimit(100)
.hgrow();
}).withLimit(100).minHeight(0).hgrow();
list.add(new HorizontalComp(List.of(content))
.styleClass("content")