From d643860afa2be78559e9681c0f89094891aa7ec3 Mon Sep 17 00:00:00 2001 From: stef <19478336+stefpi@users.noreply.github.com> Date: Thu, 17 Sep 2026 21:10:57 -0400 Subject: [PATCH] ui: increase info subtext size (#38946) increase to 36 --- openpilot/selfdrive/ui/mici/layouts/settings/device.py | 4 ++-- openpilot/selfdrive/ui/mici/layouts/settings/software.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openpilot/selfdrive/ui/mici/layouts/settings/device.py b/openpilot/selfdrive/ui/mici/layouts/settings/device.py index c038f5fddc..7ce13959d3 100644 --- a/openpilot/selfdrive/ui/mici/layouts/settings/device.py +++ b/openpilot/selfdrive/ui/mici/layouts/settings/device.py @@ -101,11 +101,11 @@ class DeviceInfoLayoutMici(Widget): subheader_color = rl.Color(255, 255, 255, int(255 * 0.9 * 0.65)) max_width = int(self._rect.width - 20) self._dongle_id_label = UnifiedLabel("device ID", 48, max_width=max_width, font_weight=FontWeight.DISPLAY, wrap_text=False) - self._dongle_id_text_label = UnifiedLabel(params.get("DongleId") or 'N/A', 32, max_width=max_width, text_color=subheader_color, + self._dongle_id_text_label = UnifiedLabel(params.get("DongleId") or 'N/A', 36, max_width=max_width, text_color=subheader_color, font_weight=FontWeight.ROMAN, wrap_text=False) self._serial_number_label = UnifiedLabel("serial", 48, max_width=max_width, font_weight=FontWeight.DISPLAY, wrap_text=False) - self._serial_number_text_label = UnifiedLabel(params.get("HardwareSerial") or 'N/A', 32, max_width=max_width, text_color=subheader_color, + self._serial_number_text_label = UnifiedLabel(params.get("HardwareSerial") or 'N/A', 36, max_width=max_width, text_color=subheader_color, font_weight=FontWeight.ROMAN, wrap_text=False) def _render(self, _): diff --git a/openpilot/selfdrive/ui/mici/layouts/settings/software.py b/openpilot/selfdrive/ui/mici/layouts/settings/software.py index 7bf17713a3..392c031f30 100644 --- a/openpilot/selfdrive/ui/mici/layouts/settings/software.py +++ b/openpilot/selfdrive/ui/mici/layouts/settings/software.py @@ -42,11 +42,11 @@ class SoftwareInfoLayoutMici(Widget): subheader_color = rl.Color(255, 255, 255, int(255 * 0.9 * 0.65)) max_width = int(self._rect.width - 20) self._version_label = UnifiedLabel("version", 48, max_width=max_width, font_weight=FontWeight.DISPLAY, wrap_text=False) - self._version_text_label = UnifiedLabel("", 32, max_width=max_width, text_color=subheader_color, + self._version_text_label = UnifiedLabel("", 36, max_width=max_width, text_color=subheader_color, font_weight=FontWeight.ROMAN, wrap_text=False) self._branch_label = UnifiedLabel("branch", 48, max_width=max_width, font_weight=FontWeight.DISPLAY, wrap_text=False) - self._branch_text_label = UnifiedLabel("", 32, max_width=max_width, text_color=subheader_color, + self._branch_text_label = UnifiedLabel("", 36, max_width=max_width, text_color=subheader_color, font_weight=FontWeight.ROMAN, wrap_text=False, scroll=True) def _update_state(self):