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:
parent
11c8a55677
commit
7d80b4f151
2
lib/l10n
2
lib/l10n
@ -1 +1 @@
|
|||||||
Subproject commit 3c7806d03887b8380efa22b8c1ca0e3eca2b98ad
|
Subproject commit bec61c2c8f076f4dc340962381e5bd6dd460f41b
|
@ -228,8 +228,8 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
drawer: new InvenTreeDrawer(context),
|
drawer: new InvenTreeDrawer(context),
|
||||||
body: GridView.count(
|
body: GridView.extent(
|
||||||
crossAxisCount: MediaQuery.of(context).orientation == Orientation.portrait ? 3 : 5,
|
maxCrossAxisExtent: 150,
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
physics: ClampingScrollPhysics(),
|
physics: ClampingScrollPhysics(),
|
||||||
children: [
|
children: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user