Align section labels and tile grid to same left edge

This commit is contained in:
2026-03-31 20:22:05 -05:00
parent 2861834647
commit 65d0364cc6
2 changed files with 7 additions and 7 deletions

View File

@@ -588,7 +588,7 @@ class SovranHubWindow(Adw.ApplicationWindow):
# ── Service tiles ──────────────────────────────────────────── # ── Service tiles ────────────────────────────────────────────
def _build_tiles(self): def _build_tiles(self):
method = self._config.get("command_method", "systemctl") method = self._config.get("command_method", "systemctl")
services = self._config.get("services", []) services = self._config.get("services", [])
@@ -616,14 +616,14 @@ class SovranHubWindow(Adw.ApplicationWindow):
halign=Gtk.Align.START, halign=Gtk.Align.START,
margin_top=20, margin_top=20,
margin_bottom=4, margin_bottom=4,
margin_start=8, margin_start=16,
) )
container.append(section_label) container.append(section_label)
sep = Gtk.Separator( sep = Gtk.Separator(
orientation=Gtk.Orientation.HORIZONTAL, orientation=Gtk.Orientation.HORIZONTAL,
margin_start=8, margin_start=16,
margin_end=8, margin_end=16,
margin_bottom=8, margin_bottom=8,
) )
container.append(sep) container.append(sep)
@@ -639,7 +639,7 @@ class SovranHubWindow(Adw.ApplicationWindow):
margin_bottom=8, margin_bottom=8,
margin_start=16, margin_start=16,
margin_end=16, margin_end=16,
halign=Gtk.Align.CENTER, halign=Gtk.Align.START,
valign=Gtk.Align.START, valign=Gtk.Align.START,
) )

View File

@@ -11,9 +11,9 @@ let
] ]
# ── Bitcoin Base (node implementations) ──────────────────── # ── Bitcoin Base (node implementations) ────────────────────
++ [ ++ [
{ name = "Bitcoin Knots + BIP110"; unit = "bitcoind.service"; type = "system"; icon = "bip110"; enabled = cfg.features.bip110; category = "bitcoin-base"; }
{ name = "Bitcoin Knots"; unit = "bitcoind.service"; type = "system"; icon = "bitcoind"; enabled = cfg.services.bitcoin && !cfg.features.bitcoin-core && !cfg.features.bip110; category = "bitcoin-base"; } { name = "Bitcoin Knots"; unit = "bitcoind.service"; type = "system"; icon = "bitcoind"; enabled = cfg.services.bitcoin && !cfg.features.bitcoin-core && !cfg.features.bip110; category = "bitcoin-base"; }
{ name = "Bitcoin Core"; unit = "bitcoind.service"; type = "system"; icon = "bitcoin-core"; enabled = cfg.features.bitcoin-core; category = "bitcoin-base"; } { name = "Bitcoin Core"; unit = "bitcoind.service"; type = "system"; icon = "bitcoin-core"; enabled = cfg.features.bitcoin-core; category = "bitcoin-base"; }
{ name = "Bitcoin Knots + BIP110"; unit = "bitcoind.service"; type = "system"; icon = "bip110"; enabled = cfg.features.bip110; category = "bitcoin-base"; }
] ]
# ── Bitcoin Apps (services on top of the node) ───────────── # ── Bitcoin Apps (services on top of the node) ─────────────
++ [ ++ [