style(app): текст в выборе скоупа по центру ячейки

This commit is contained in:
Dmitry
2026-09-20 10:46:42 +03:00
parent 521924b3a4
commit a41a9ca198
+3
View File
@@ -34,6 +34,9 @@ class ScopeSelector extends ConsumerWidget {
for (final s in rows) for (final s in rows)
DropdownMenuItem( DropdownMenuItem(
value: s.scope, 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), child: Text(s.name, overflow: TextOverflow.ellipsis),
), ),
], ],