Terminal design: gap between the pending dots and the status label
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -153,8 +153,10 @@ class TerminalActivityRows extends StatelessWidget {
|
|||||||
Theme.of(context).colorScheme.primary;
|
Theme.of(context).colorScheme.primary;
|
||||||
return Row(
|
return Row(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
// The dots are wider than a glyph: at least the glyph column, then
|
||||||
width: terminalGlyphColumn(context),
|
// a gap before the label so they never touch it.
|
||||||
|
ConstrainedBox(
|
||||||
|
constraints: BoxConstraints(minWidth: terminalGlyphColumn(context)),
|
||||||
child: ExcludeSemantics(
|
child: ExcludeSemantics(
|
||||||
child: DefaultTextStyle.merge(
|
child: DefaultTextStyle.merge(
|
||||||
style: TextStyle(color: accent),
|
style: TextStyle(color: accent),
|
||||||
@@ -165,6 +167,7 @@ class TerminalActivityRows extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
const SizedBox(width: 8),
|
||||||
Flexible(
|
Flexible(
|
||||||
child: Text(
|
child: Text(
|
||||||
'${data.label}… (${seconds}s)',
|
'${data.label}… (${seconds}s)',
|
||||||
|
|||||||
Reference in New Issue
Block a user