[gnome-control-center/wip/exalm/dark-wallpapers: 2/2] background: Refine background chooser layout
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/exalm/dark-wallpapers: 2/2] background: Refine background chooser layout
- Date: Mon, 7 Feb 2022 10:49:25 +0000 (UTC)
commit 4b816c1b17a52583a1cb55b378d69c875f33f12b
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Feb 2 20:58:02 2022 +0500
background: Refine background chooser layout
Make thumbnails smaller, add margin on the sides.
panels/background/bg-source.c | 2 +-
panels/background/cc-background-chooser.ui | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/panels/background/bg-source.c b/panels/background/bg-source.c
index b199257ba..dacf82f10 100644
--- a/panels/background/bg-source.c
+++ b/panels/background/bg-source.c
@@ -23,7 +23,7 @@
#include <cairo-gobject.h>
-#define THUMBNAIL_WIDTH 154
+#define THUMBNAIL_WIDTH 144
#define THUMBNAIL_HEIGHT (THUMBNAIL_WIDTH * 3 / 4)
typedef struct
diff --git a/panels/background/cc-background-chooser.ui b/panels/background/cc-background-chooser.ui
index 509ed53ed..edaf1dd94 100644
--- a/panels/background/cc-background-chooser.ui
+++ b/panels/background/cc-background-chooser.ui
@@ -13,6 +13,8 @@
<object class="GtkFlowBox" id="recent_flowbox">
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
+ <property name="margin-start">12</property>
+ <property name="margin-end">12</property>
<property name="column-spacing">12</property>
<property name="row-spacing">12</property>
<property name="homogeneous">True</property>
@@ -41,6 +43,8 @@
<object class="GtkFlowBox" id="flowbox">
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
+ <property name="margin-start">12</property>
+ <property name="margin-end">12</property>
<property name="column-spacing">12</property>
<property name="row-spacing">12</property>
<property name="homogeneous">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]