mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Use GridView.extent instead
This commit is contained in:
parent
11c8a55677
commit
7d80b4f151
2 changed files with 3 additions and 3 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue