[gnome-software/wip/jimmac/banner-sizing] banners: improve spacing and sizing
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/jimmac/banner-sizing] banners: improve spacing and sizing
- Date: Mon, 24 Feb 2020 13:02:35 +0000 (UTC)
commit f252925a9b636eedb1525a7d1602dfe1c4ebb841
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Feb 24 14:01:12 2020 +0100
banners: improve spacing and sizing
- fixes https://gitlab.gnome.org/GNOME/gnome-software/issues/930
src/gs-feature-tile.ui | 5 +----
src/gtk-style.css | 4 ++--
2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/gs-feature-tile.ui b/src/gs-feature-tile.ui
index b2714989..fae458e1 100644
--- a/src/gs-feature-tile.ui
+++ b/src/gs-feature-tile.ui
@@ -35,7 +35,7 @@
<property name="visible">True</property>
<property name="halign">center</property>
<property name="orientation">vertical</property>
- <property name="margin">40</property>
+ <property name="margin">50</property>
<child>
<object class="GtkLabel" id="title">
<property name="visible">True</property>
@@ -44,9 +44,6 @@
<property name="valign">end</property>
<property name="vexpand">True</property>
<property name="ellipsize">end</property>
- <attributes>
- <attribute name="scale" value="2.5"/>
- </attributes>
<style>
<class name="title-1"/>
</style>
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 11689fe4..45d5f065 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -526,9 +526,9 @@ flowboxchild {
/* these typographical classes will be provided in gtk eventually */
.title-1{
font-weight: 800;
-/* font-size: 20pt; */
+ font-size: 20pt;
}
.caption{
font-weight: 400;
-/* font-size: 9pt; */
+ font-size: 10pt;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]