From daf4b42f8868a38f1598a5a6d2f0da99389ea08e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tomi=20Lepp=C3=A4nen?= Date: Mon, 18 Nov 2024 14:48:49 +0200 Subject: [PATCH] Fix app grid scrolling MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change Padding to Extended to size app grid's GridView correctly and move padding defintion inside GridView. GridView should look still the same but now scrolling works properly. Previously app grid could not be scrolled at all. After this it should scroll just fine. Bug-AGL: SPEC-5297 Change-Id: I3f7e24226db087a9c7a20092f2d24cc65ecd8df9 Signed-off-by: Tomi Leppänen --- lib/presentation/screens/apps/apps_content.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/presentation/screens/apps/apps_content.dart b/lib/presentation/screens/apps/apps_content.dart index b0afda1..eb7beb9 100644 --- a/lib/presentation/screens/apps/apps_content.dart +++ b/lib/presentation/screens/apps/apps_content.dart @@ -29,9 +29,9 @@ class _AppsState extends ConsumerState { crossAxisAlignment: CrossAxisAlignment.stretch, children: [ const CommonTitle(title: "Applications"), - Padding( - padding: const EdgeInsets.symmetric(vertical: 50, horizontal: 148), + Expanded( child: GridView.builder( + padding: const EdgeInsets.symmetric(vertical: 50, horizontal: 148), scrollDirection: Axis.vertical, shrinkWrap: true, itemCount: apps.length, -- 2.16.6