From dbbefa80b42e6c00275ad8fcd8cef3c1809838f3 Mon Sep 17 00:00:00 2001 From: Arthi-chaud Date: Wed, 9 Feb 2022 15:13:16 +0100 Subject: [PATCH] Mobile Client: Fix overflows --- mobile/lib/src/views/setup_action_page.dart | 22 ++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/mobile/lib/src/views/setup_action_page.dart b/mobile/lib/src/views/setup_action_page.dart index 02d136f..cc9a443 100644 --- a/mobile/lib/src/views/setup_action_page.dart +++ b/mobile/lib/src/views/setup_action_page.dart @@ -61,7 +61,7 @@ class _SetupActionPageState extends State { width: 10, height: 100, ), - Text(service.name, style: const TextStyle(fontSize: 20)) + Text(service.name, style: const TextStyle(fontSize: 15)) ]), ); }).toList(), @@ -80,12 +80,20 @@ class _SetupActionPageState extends State { Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - Align( - alignment: Alignment.centerLeft, - child: Text( - "${availableActions.length} ${AppLocalizations.of(context).avalableActionsFor} ", - )), - Align(alignment: Alignment.centerRight, child: serviceDropdown), + Expanded( + child: Align( + alignment: Alignment.centerLeft, + child: Text( + "${availableActions.length} ${AppLocalizations.of(context).avalableActionsFor} ", + )), + ), + Expanded( + child: Padding( + padding: const EdgeInsets.all(8.0), + child: Align( + alignment: Alignment.centerRight, child: serviceDropdown), + ), + ), ], ), const SizedBox(height: 30),