Skip to content

Commit

Permalink
Fix weird layout thing
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Feb 12, 2024
1 parent beeff3b commit 188891c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Views/NightLightView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ public class Display.NightLightView : Gtk.Box {
var schedule_manual_radio = new Gtk.CheckButton () {
group = schedule_sunset_radio
};
schedule_manual_box.set_parent (schedule_manual_radio);

var schedule_grid = new Gtk.Grid () {
column_spacing = 7, // Off by one with Gtk.CheckButton
column_spacing = 6,
row_spacing = 6
};
schedule_grid.attach (schedule_header, 0, 3, 2);
schedule_grid.attach (schedule_sunset_radio, 0, 5, 2);
schedule_grid.attach (schedule_header, 0, 3);
schedule_grid.attach (schedule_sunset_radio, 0, 5);
schedule_grid.attach (schedule_manual_radio, 0, 6);
schedule_grid.attach (schedule_manual_box, 1, 6);

var box = new Gtk.Box (VERTICAL, 24);
box.append (nightlight_grid);
Expand Down

0 comments on commit 188891c

Please sign in to comment.