Align section labels and tile grid to same left edge
This commit is contained in:
@@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -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) ─────────────
|
||||||
++ [
|
++ [
|
||||||
@@ -161,4 +161,4 @@ in
|
|||||||
favorite-apps=['org.gnome.Nautilus.desktop', 'sovran-hub.desktop', 'org.gnome.Console.desktop', 'firefox.desktop']
|
favorite-apps=['org.gnome.Nautilus.desktop', 'sovran-hub.desktop', 'org.gnome.Console.desktop', 'firefox.desktop']
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user