Fix status bar autoscaling
This commit is contained in:
@@ -85,11 +85,17 @@ class _PpsPill extends StatelessWidget {
|
||||
return Row(mainAxisSize: MainAxisSize.min, children: [
|
||||
const Text('PPS ',
|
||||
style: TextStyle(fontSize: 11, color: Colors.grey)),
|
||||
Text(pps.round().toString(),
|
||||
SizedBox(
|
||||
width: 32,
|
||||
child: Text(
|
||||
pps.round().toString(),
|
||||
textAlign: TextAlign.right,
|
||||
style: const TextStyle(
|
||||
fontFamily: 'monospace',
|
||||
fontSize: 11,
|
||||
fontWeight: FontWeight.w500)),
|
||||
fontWeight: FontWeight.w500),
|
||||
),
|
||||
),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -147,7 +153,14 @@ class _StatusPill extends StatelessWidget {
|
||||
child: Row(mainAxisSize: MainAxisSize.min, children: [
|
||||
_Dot(dot, size: 7),
|
||||
const SizedBox(width: 5),
|
||||
Text(text, style: TextStyle(fontSize: 10, color: fg)),
|
||||
Text(
|
||||
text,
|
||||
style: TextStyle(
|
||||
fontFamily: 'monospace',
|
||||
fontSize: 10,
|
||||
color: fg,
|
||||
),
|
||||
),
|
||||
]),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user