mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 17:10:27 +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();
|
section.getAllChildren()) : section.getShownChildren();
|
||||||
var content = new ListBoxViewComp<>(listSections, section.getAllChildren(), (StoreSection e) -> {
|
var content = new ListBoxViewComp<>(listSections, section.getAllChildren(), (StoreSection e) -> {
|
||||||
return StoreSectionMiniComp.builder().section(e).augment(this.augment).build();
|
return StoreSectionMiniComp.builder().section(e).augment(this.augment).build();
|
||||||
}).withLimit(100)
|
}).withLimit(100).minHeight(0).hgrow();
|
||||||
.hgrow();
|
|
||||||
|
|
||||||
list.add(new HorizontalComp(List.of(content))
|
list.add(new HorizontalComp(List.of(content))
|
||||||
.styleClass("content")
|
.styleClass("content")
|
||||||
|
|
Loading…
Reference in a new issue