diff --git a/app/lib/core/widgets/scope_selector.dart b/app/lib/core/widgets/scope_selector.dart index 6d56c1d..70faff7 100644 --- a/app/lib/core/widgets/scope_selector.dart +++ b/app/lib/core/widgets/scope_selector.dart @@ -34,6 +34,9 @@ class ScopeSelector extends ConsumerWidget { for (final s in rows) DropdownMenuItem( value: s.scope, + // the button is as wide as the longest name; a shorter one would sit at its + // left edge otherwise + alignment: Alignment.center, child: Text(s.name, overflow: TextOverflow.ellipsis), ), ],