From 7d80b4f151d631b0625bd06d26db26dda2e55237 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 27 Sep 2021 22:43:18 +1000 Subject: [PATCH] Use GridView.extent instead --- lib/l10n | 2 +- lib/widget/home.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/l10n b/lib/l10n index 3c7806d0..bec61c2c 160000 --- a/lib/l10n +++ b/lib/l10n @@ -1 +1 @@ -Subproject commit 3c7806d03887b8380efa22b8c1ca0e3eca2b98ad +Subproject commit bec61c2c8f076f4dc340962381e5bd6dd460f41b diff --git a/lib/widget/home.dart b/lib/widget/home.dart index 39991a1d..7009393d 100644 --- a/lib/widget/home.dart +++ b/lib/widget/home.dart @@ -228,8 +228,8 @@ class _InvenTreeHomePageState extends State { ], ), drawer: new InvenTreeDrawer(context), - body: GridView.count( - crossAxisCount: MediaQuery.of(context).orientation == Orientation.portrait ? 3 : 5, + body: GridView.extent( + maxCrossAxisExtent: 150, shrinkWrap: true, physics: ClampingScrollPhysics(), children: [