We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27e8f2 commit ba619ffCopy full SHA for ba619ff
src/main/java/com/cleanroommc/modularui/widgets/layout/Grid.java
@@ -67,7 +67,7 @@ public void layoutWidgets() {
67
if (i == 0) {
68
colSizes.add(this.minColWidth);
69
}
70
- if (child != null) {
+ if (child != null && child.isEnabled()) {
71
rowSizes.set(i, Math.max(rowSizes.getInt(i), getElementHeight(child.getArea())));
72
colSizes.set(j, Math.max(colSizes.getInt(j), getElementWidth(child.getArea())));
73
0 commit comments