2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-29 14:06:47 +00:00

Use GridView.extent instead

This commit is contained in:
Oliver 2021-09-27 22:43:18 +10:00
parent 11c8a55677
commit 7d80b4f151
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 3c7806d03887b8380efa22b8c1ca0e3eca2b98ad
Subproject commit bec61c2c8f076f4dc340962381e5bd6dd460f41b

View File

@ -228,8 +228,8 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
],
),
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: [