[fractal/fractal-next] explore: fix spacing around listview
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/fractal-next] explore: fix spacing around listview
- Date: Mon, 29 Nov 2021 13:29:53 +0000 (UTC)
commit 9204479fae552ac961d8470c9e5f5ab87becca50
Author: Julian Sparber <julian sparber net>
Date: Mon Nov 29 14:22:00 2021 +0100
explore: fix spacing around listview
data/resources/style.css | 2 +-
data/resources/ui/content-explore.ui | 5 +++++
data/resources/ui/content-public-room-row.ui | 2 --
3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/data/resources/style.css b/data/resources/style.css
index 166c350c..07a5249d 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -256,7 +256,7 @@ headerbar.flat {
padding: 6px;
}
-.explore listview {
+.explore listview row {
padding: 12px;
}
diff --git a/data/resources/ui/content-explore.ui b/data/resources/ui/content-explore.ui
index b3f69d78..ebe49f47 100644
--- a/data/resources/ui/content-explore.ui
+++ b/data/resources/ui/content-explore.ui
@@ -78,6 +78,11 @@
<property name="maximum-size">800</property>
<property name="child">
<object class="GtkListView" id="listview">
+ <property name="show-separators">True</property>
+ <property name="margin-top">24</property>
+ <property name="margin-bottom">24</property>
+ <property name="margin-start">24</property>
+ <property name="margin-end">24</property>
<style>
<class name="content"/>
</style>
diff --git a/data/resources/ui/content-public-room-row.ui b/data/resources/ui/content-public-room-row.ui
index ce440919..d8fb83f4 100644
--- a/data/resources/ui/content-public-room-row.ui
+++ b/data/resources/ui/content-public-room-row.ui
@@ -4,8 +4,6 @@
<property name="child">
<object class="GtkBox">
<property name="spacing">12</property>
- <property name="margin-start">12</property>
- <property name="margin-end">12</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]