style(app): текст в выборе скоупа по центру ячейки
This commit is contained in:
@@ -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),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user