From 16de992c29cd19a94b75bea51a75b8b91043ce2c Mon Sep 17 00:00:00 2001 From: crschnick Date: Fri, 5 Jan 2024 08:00:59 +0000 Subject: [PATCH] Fix mini section size with one element --- .../java/io/xpipe/app/comp/store/StoreSectionMiniComp.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/comp/store/StoreSectionMiniComp.java b/app/src/main/java/io/xpipe/app/comp/store/StoreSectionMiniComp.java index 3da804e7d..08cbd0561 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StoreSectionMiniComp.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StoreSectionMiniComp.java @@ -103,8 +103,7 @@ public class StoreSectionMiniComp extends Comp> { 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")