mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 02:05:29 +00:00
Use GridView.extent instead
This commit is contained in:
@ -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: [
|
||||
|
Reference in New Issue
Block a user