more font size polish

This commit is contained in:
firestarsdog
2026-10-02 20:03:46 -04:00
parent 0857acfc50
commit 1aefe9dc82
3 changed files with 2 additions and 15 deletions
@@ -2861,7 +2861,7 @@ class AetherAdjustorRow(Widget):
draw_rounded_fill(fill_rect, with_alpha(self._color, fill_alpha), radius_px=bar_h // 2)
inset = 18
title_y = bar_rect.y + (bar_h - title_fs) / 2
title_y = bar_rect.y + (bar_h - title_fs * FONT_SCALE) / 2
rl.draw_text_ex(self._font_title, self._title,
rl.Vector2(bar_rect.x + inset, title_y),
title_fs, 0, self._style.title_color)
@@ -2870,7 +2870,7 @@ class AetherAdjustorRow(Widget):
value_w = measure_text_cached(self._font_value, value_str, value_fs).x
rl.draw_text_ex(self._font_value, value_str,
rl.Vector2(bar_rect.x + bar_rect.width - inset - value_w,
bar_rect.y + (bar_h - value_fs) / 2),
bar_rect.y + (bar_h - value_fs * FONT_SCALE) / 2),
value_fs, 0, self._style.title_color)
if self._subtitle:
@@ -260,8 +260,6 @@ class MapsManagerView(PanelManagerView):
action_text_size=26,
action_pill_height=56,
action_pill_width=154,
title_size=32,
subtitle_size=22,
row_separator=PANEL_STYLE.divider_color,
current_bg=PANEL_STYLE.current_fill,
current_border=PANEL_STYLE.current_border,
@@ -307,8 +305,6 @@ class MapsManagerView(PanelManagerView):
action_text_size=26,
action_pill_height=56,
action_pill_width=154 if selected else 128,
title_size=32,
subtitle_size=22,
row_separator=PANEL_STYLE.divider_color,
current_bg=PANEL_STYLE.current_fill,
current_border=PANEL_STYLE.current_border,
@@ -761,9 +761,6 @@ class StarPilotNavigationLayout(_SettingsPage):
action_pill=True,
action_pill_height=58,
action_pill_width=150,
title_size=31,
subtitle_size=22,
action_text_size=23,
row_separator=PANEL_STYLE.divider_color,
)
y += NAV_ROW_HEIGHT
@@ -802,9 +799,6 @@ class StarPilotNavigationLayout(_SettingsPage):
action_pill=True,
action_pill_height=58,
action_pill_width=150,
title_size=31,
subtitle_size=22,
action_text_size=23,
row_separator=PANEL_STYLE.divider_color,
)
y += NAV_ROW_HEIGHT
@@ -837,9 +831,6 @@ class StarPilotNavigationLayout(_SettingsPage):
action_pill=True,
action_pill_height=58,
action_pill_width=150,
title_size=31,
subtitle_size=22,
action_text_size=23,
row_separator=PANEL_STYLE.divider_color,
)
y += NAV_ROW_HEIGHT