fix stats formatting 3 on export option
This commit is contained in:
Binary file not shown.
@@ -108,7 +108,12 @@ public static class StatsPanel
|
||||
var emptyStr = new string('\u2591', empty);
|
||||
|
||||
var row = new Grid();
|
||||
row.AddColumn(new GridColumn().NoWrap());
|
||||
|
||||
// FIX: Add all three columns back!
|
||||
row.AddColumn(new GridColumn().NoWrap().Width(9)); // Column 1: Label
|
||||
row.AddColumn(new GridColumn().NoWrap()); // Column 2: Bar
|
||||
row.AddColumn(new GridColumn().NoWrap().Width(7)); // Column 3: Pct
|
||||
|
||||
var colorMarkup = filledColor.ToMarkup();
|
||||
|
||||
// Construct a seamless markup string
|
||||
@@ -116,7 +121,7 @@ public static class StatsPanel
|
||||
|
||||
row.AddRow(
|
||||
new Text($" {label,-5}", new Style(Color.Grey, decoration: Decoration.Dim)),
|
||||
new Markup(barMarkup), // Replace Columns with a single Markup object
|
||||
new Markup(barMarkup),
|
||||
new Text($" {pct,5:F1}%", new Style(Color.White, decoration: Decoration.Bold))
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user