mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fix mini section size with one element
This commit is contained in:
parent
fcba5d1c54
commit
16de992c29
1 changed files with 1 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue