diff --git a/src/fenigma/app.py b/src/fenigma/app.py index bcd7232..d13db6c 100644 --- a/src/fenigma/app.py +++ b/src/fenigma/app.py @@ -277,6 +277,10 @@ class MainWindow(Adw.ApplicationWindow): self.cursor_label = Gtk.Label(xalign=1) self.cursor_label.add_css_class("dim-label") self.cursor_label.add_css_class("numeric") + # Monospace so the constantly-changing digits (azimuth/distance/ + # coord under the cursor) don't jitter the label's width on every + # mouse-move redraw the way a proportional font would. + self.cursor_label.add_css_class("monospace") header.pack_end(self.cursor_label) # packed after firing_btn -> sits to its left self.canvas = GridCanvas(self.board) diff --git a/src/fenigma/firing_panel.py b/src/fenigma/firing_panel.py index 0734961..227d5f0 100644 --- a/src/fenigma/firing_panel.py +++ b/src/fenigma/firing_panel.py @@ -64,8 +64,8 @@ def _ensure_charge_segment_css() -> None: provider = Gtk.CssProvider() provider.load_from_string(f""" button.{_CHARGE_SEG_CSS_CLASS} {{ - min-width: 20px; - min-height: 20px; + min-width: 28px; + min-height: 28px; padding: 0; border-radius: 9999px; }}