Make sure all measurements are divisible by 3

This commit is contained in:
kramo
2023-07-03 14:40:08 +02:00
parent e320e58ffc
commit e388623c03
3 changed files with 12 additions and 12 deletions

View File

@@ -81,8 +81,8 @@ template $Game : Box {
ellipsize: end; ellipsize: end;
hexpand: true; hexpand: true;
halign: start; halign: start;
margin-top: 14; margin-top: 15;
margin-bottom: 14; margin-bottom: 15;
margin-start: 12; margin-start: 12;
margin-end: 12; margin-end: 12;
} }

View File

@@ -147,7 +147,7 @@ template $CartridgesWindow : Adw.ApplicationWindow {
Box { Box {
orientation: horizontal; orientation: horizontal;
margin-top: 16; margin-top: 15;
hexpand: true; hexpand: true;
halign: start; halign: start;
@@ -285,10 +285,10 @@ template $CartridgesWindow : Adw.ApplicationWindow {
valign: start; valign: start;
column-spacing: 12; column-spacing: 12;
row-spacing: 12; row-spacing: 12;
margin-top: 16; margin-top: 15;
margin-bottom: 16; margin-bottom: 15;
margin-start: 16; margin-start: 15;
margin-end: 16; margin-end: 15;
selection-mode: none; selection-mode: none;
} }
} }
@@ -351,10 +351,10 @@ template $CartridgesWindow : Adw.ApplicationWindow {
valign: start; valign: start;
column-spacing: 12; column-spacing: 12;
row-spacing: 12; row-spacing: 12;
margin-top: 16; margin-top: 15;
margin-bottom: 16; margin-bottom: 15;
margin-start: 16; margin-start: 15;
margin-end: 16; margin-end: 15;
selection-mode: none; selection-mode: none;
} }
} }

View File

@@ -263,7 +263,7 @@ class Importer(ErrorProducer):
list_box = Gtk.ListBox() list_box = Gtk.ListBox()
list_box.set_selection_mode(Gtk.SelectionMode.NONE) list_box.set_selection_mode(Gtk.SelectionMode.NONE)
list_box.set_css_classes(["boxed-list"]) list_box.set_css_classes(["boxed-list"])
list_box.set_margin_top(8) list_box.set_margin_top(9)
for error in errors: for error in errors:
row = Adw.ActionRow.new() row = Adw.ActionRow.new()
row.set_title(error[0]) row.set_title(error[0])