Correct sizing
This commit is contained in:
parent
846c5f1bed
commit
a53cdc28e2
|
|
@ -228,7 +228,7 @@ class _VariableGrid extends StatelessWidget {
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
primary: true,
|
primary: true,
|
||||||
crossAxisCount: 2,
|
crossAxisCount: 2,
|
||||||
childAspectRatio: ((constraints.maxWidth / 2) - 8) / 200,
|
childAspectRatio: ((constraints.maxWidth / 2) - 8) / 50,
|
||||||
children: fields
|
children: fields
|
||||||
.map(
|
.map(
|
||||||
(field) => TextButton(
|
(field) => TextButton(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue