From 472f4d249feb3d75dc30e4cb779f33cc563fe9d5 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 25 Jul 2022 13:21:15 +0300 Subject: [PATCH 49/49] gtk4 theme: Fix margin definitions See osdn #45230 Signed-off-by: Marko Lindqvist --- data/themes/gtk4/Freeciv/gtk-4.0/gtk.css | 25 ++++++++++++------------ 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/data/themes/gtk4/Freeciv/gtk-4.0/gtk.css b/data/themes/gtk4/Freeciv/gtk-4.0/gtk.css index 8e355611db..ac28f61beb 100644 --- a/data/themes/gtk4/Freeciv/gtk-4.0/gtk.css +++ b/data/themes/gtk4/Freeciv/gtk-4.0/gtk.css @@ -1,9 +1,15 @@ * { -GtkWidget-outline-style: auto; - -GtkButton-margin: 1; + -GtkButton-margin-start: 1; + -GtkButton-margin-end: 1; + -GtkButton-margin-top: 1; + -GtkButton-margin-bottom: 1; -GtkButton-padding: 2; - -GtkRange-margin: 1; + -GtkRange-margin-start: 1; + -GtkRange-margin-end: 1; + -GtkRange-margin-top: 1; + -GtkRange-margin-bottom: 1; -GtkRange-min-width: 15; -GtkRange-min-height: 15; @@ -15,7 +21,10 @@ -GtkScrollbar-min-height: 50; -GtkCheckButton-min-width: 12; -GtkCheckButton-min-height: 12; - -GtkCheckButton-margin: 3; + -GtkCheckButton-margin-start: 3; + -GtkCheckButton-margin-end: 3; + -GtkCheckButton-margin-top: 3; + -GtkCheckButton-margin-bottom: 3; -GtkStatusbar-text-shadow: none; -GtkSpinButton-text-shadow: none; @@ -200,24 +209,14 @@ GtkTreeMenu.menu { } GtkTreeView { -/* - #Comment out the ythickness setting below for thicker column headers. - #ythickness = 0 -*/ -GtkTreeView-odd-row-color: #ffffff; -GtkTreeView-even-row-color: #ffffff; -/* -# fg[NORMAL] = "#ffffff" -# text[NORMAL] = "#ffffff" -*/ - border-width: 2px; } GtkTreeview column-header { - /* border-color : #e1cea1; */ background-color : #e1cea1; } -- 2.35.1