Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit 3984b18

Browse files
committed
fix switch alignment
1 parent 8c1ce22 commit 3984b18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MainWindow.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public class MainWindow : Gtk.Window {
115115
var gtk_settings = Gtk.Settings.get_default ();
116116
var theme_switch = new Granite.ModeSwitch.from_icon_name ("display-brightness-symbolic", "weather-clear-night-symbolic");
117117
theme_switch.active = Docs.settings.get_boolean ("dark");
118+
theme_switch.row_homogeneous = true;
118119
theme_switch.bind_property ("active", gtk_settings, "gtk_application_prefer_dark_theme");
119120

120121
theme_switch.notify["active"].connect (()=> {

0 commit comments

Comments
 (0)