From e388623c0346adf7bdb51a501c4368b071b19fdd Mon Sep 17 00:00:00 2001 From: kramo <93832451+kra-mo@users.noreply.github.com> Date: Mon, 3 Jul 2023 14:40:08 +0200 Subject: [PATCH] Make sure all measurements are divisible by 3 --- data/gtk/game.blp | 4 ++-- data/gtk/window.blp | 18 +++++++++--------- src/importer/importer.py | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/data/gtk/game.blp b/data/gtk/game.blp index 786db10..4c16db6 100644 --- a/data/gtk/game.blp +++ b/data/gtk/game.blp @@ -81,8 +81,8 @@ template $Game : Box { ellipsize: end; hexpand: true; halign: start; - margin-top: 14; - margin-bottom: 14; + margin-top: 15; + margin-bottom: 15; margin-start: 12; margin-end: 12; } diff --git a/data/gtk/window.blp b/data/gtk/window.blp index 46c90f2..e75ffa2 100644 --- a/data/gtk/window.blp +++ b/data/gtk/window.blp @@ -147,7 +147,7 @@ template $CartridgesWindow : Adw.ApplicationWindow { Box { orientation: horizontal; - margin-top: 16; + margin-top: 15; hexpand: true; halign: start; @@ -285,10 +285,10 @@ template $CartridgesWindow : Adw.ApplicationWindow { valign: start; column-spacing: 12; row-spacing: 12; - margin-top: 16; - margin-bottom: 16; - margin-start: 16; - margin-end: 16; + margin-top: 15; + margin-bottom: 15; + margin-start: 15; + margin-end: 15; selection-mode: none; } } @@ -351,10 +351,10 @@ template $CartridgesWindow : Adw.ApplicationWindow { valign: start; column-spacing: 12; row-spacing: 12; - margin-top: 16; - margin-bottom: 16; - margin-start: 16; - margin-end: 16; + margin-top: 15; + margin-bottom: 15; + margin-start: 15; + margin-end: 15; selection-mode: none; } } diff --git a/src/importer/importer.py b/src/importer/importer.py index 024283c..86ead2e 100644 --- a/src/importer/importer.py +++ b/src/importer/importer.py @@ -263,7 +263,7 @@ class Importer(ErrorProducer): list_box = Gtk.ListBox() list_box.set_selection_mode(Gtk.SelectionMode.NONE) list_box.set_css_classes(["boxed-list"]) - list_box.set_margin_top(8) + list_box.set_margin_top(9) for error in errors: row = Adw.ActionRow.new() row.set_title(error[0])