diff --git a/lib/ui/pages/setup/initializing/domain_picker.dart b/lib/ui/pages/setup/initializing/domain_picker.dart index 1d64349c..69e11a8d 100644 --- a/lib/ui/pages/setup/initializing/domain_picker.dart +++ b/lib/ui/pages/setup/initializing/domain_picker.dart @@ -87,9 +87,13 @@ class _DomainPickerState extends State { }); }, ), - Text( - domain, - style: Theme.of(context).textTheme.bodyLarge, + Expanded( + child: Text( + domain, + style: Theme.of(context).textTheme.bodyLarge, + overflow: TextOverflow.ellipsis, + maxLines: 1, + ), ), ], ), @@ -118,12 +122,16 @@ class _DomainPickerState extends State { mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ - Text( - state.domain, - style: Theme.of(context).textTheme.headlineMedium?.copyWith( - color: Theme.of(context).colorScheme.onBackground, - ), - textAlign: TextAlign.center, + Expanded( + child: Text( + state.domain, + style: Theme.of(context).textTheme.headlineMedium?.copyWith( + color: Theme.of(context).colorScheme.onBackground, + ), + textAlign: TextAlign.center, + overflow: TextOverflow.ellipsis, + maxLines: 1, + ), ), ], ),