From 0c3bd608d9533a3026902ee088a1826ee980ba3f Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Wed, 15 Jul 2026 01:16:44 -0400 Subject: [PATCH] Big UI: Skinny pill --- selfdrive/ui/onroad/starpilot/starpilot_onroad_view.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/ui/onroad/starpilot/starpilot_onroad_view.py b/selfdrive/ui/onroad/starpilot/starpilot_onroad_view.py index 98d07b5c1..458eedd0d 100644 --- a/selfdrive/ui/onroad/starpilot/starpilot_onroad_view.py +++ b/selfdrive/ui/onroad/starpilot/starpilot_onroad_view.py @@ -472,12 +472,12 @@ class StarPilotOnroadView(AugmentedRoadView): sz = measure_text_cached(font, road_name, font_size) pad_x = 24 - pad_y = 8 + pad_y = 5 pill_w = sz.x + pad_x * 2 pill_h = font_size + pad_y * 2 cx = self._content_rect.x + self._content_rect.width / 2 - by = self._content_rect.y + self._content_rect.height - pill_h - 20 + by = self._content_rect.y + self._content_rect.height - pill_h - 16 pill = rl.Rectangle(cx - pill_w / 2, by, pill_w, pill_h) rl.draw_rectangle_rounded(pill, 0.4, 8, rl.Color(0, 0, 0, 166))