Compare commits

..

2 Commits

Author SHA1 Message Date
931f701591 Center content vertically in user and welcome pages 2026-02-02 15:26:03 +01:00
52897a1dd0 Why the fuck was it in that order 2026-02-02 15:24:40 +01:00
3 changed files with 3 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ class ModulesPage(Adw.Bin):
# NVIDIA Drivers # NVIDIA Drivers
self.add_module_row( self.add_module_row(
"NVIDIA Proprietary Drivers", "Proprietary NVIDIA Drivers",
"Install proprietary drivers for NVIDIA graphics cards for better performance.", "Install proprietary drivers for NVIDIA graphics cards for better performance.",
"nvidia_drivers", "nvidia_drivers",
) )

View File

@@ -15,6 +15,7 @@ class UserPage(Adw.Bin):
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
box.set_spacing(24) box.set_spacing(24)
box.set_valign(Gtk.Align.CENTER)
box.set_margin_top(24) box.set_margin_top(24)
box.set_margin_bottom(24) box.set_margin_bottom(24)
clamp.set_child(box) clamp.set_child(box)

View File

@@ -18,6 +18,7 @@ class WelcomePage(Adw.Bin):
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
box.set_spacing(12) box.set_spacing(12)
box.set_halign(Gtk.Align.CENTER) box.set_halign(Gtk.Align.CENTER)
box.set_valign(Gtk.Align.CENTER)
lbl = Gtk.Label(label="Select your language:") lbl = Gtk.Label(label="Select your language:")
lbl.add_css_class("heading") lbl.add_css_class("heading")