From ff70b8ff614fa7d4098f34fd4b020049e148376d Mon Sep 17 00:00:00 2001
From: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Date: Mon, 7 Oct 2024 15:45:05 +0100
Subject: use tabular numbers in CharProgress (#5631)

---
 src/view/com/composer/char-progress/CharProgress.tsx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'src/view/com/composer/char-progress/CharProgress.tsx')

diff --git a/src/view/com/composer/char-progress/CharProgress.tsx b/src/view/com/composer/char-progress/CharProgress.tsx
index 1c9327410..c7d9628d6 100644
--- a/src/view/com/composer/char-progress/CharProgress.tsx
+++ b/src/view/com/composer/char-progress/CharProgress.tsx
@@ -30,7 +30,13 @@ export function CharProgress({
   return (
     <View
       style={[a.flex_row, a.align_center, a.justify_between, a.gap_sm, style]}>
-      <Text style={[{color: textColor}, a.flex_grow, a.text_right, textStyle]}>
+      <Text
+        style={[
+          {color: textColor, fontVariant: ['tabular-nums']},
+          a.flex_grow,
+          a.text_right,
+          textStyle,
+        ]}>
         {maxLength - count}
       </Text>
       {count > maxLength ? (
-- 
cgit 1.4.1

