[gnome-software] Use a smaller star rating widget in the search results
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Use a smaller star rating widget in the search results
- Date: Thu, 14 Jul 2016 15:52:22 +0000 (UTC)
commit 1b39e8adb00c35048b24dc5cd35e5fd157d7c1df
Author: Richard Hughes <richard hughsie com>
Date: Thu Jul 14 15:31:45 2016 +0100
Use a smaller star rating widget in the search results
src/gs-app-row.c | 1 +
src/gs-app-row.ui | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index e3ad56f..8459bef 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -692,6 +692,7 @@ gs_app_row_init (GsAppRow *app_row)
gtk_widget_set_has_window (GTK_WIDGET (app_row), FALSE);
gtk_widget_init_template (GTK_WIDGET (app_row));
+ gs_star_widget_set_icon_size (GS_STAR_WIDGET (priv->star), 12);
priv->colorful = TRUE;
priv->settings = g_settings_new ("org.gnome.software");
diff --git a/src/gs-app-row.ui b/src/gs-app-row.ui
index e2de2f0..5710308 100644
--- a/src/gs-app-row.ui
+++ b/src/gs-app-row.ui
@@ -67,7 +67,7 @@
<property name="orientation">vertical</property>
<property name="margin-start">12</property>
<property name="margin-top">3</property>
- <property name="spacing">0</property>
+ <property name="spacing">3</property>
<property name="valign">fill</property>
<child>
<object class="GtkLabel" id="name_label">
@@ -85,7 +85,7 @@
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="fill">True</property>
</packing>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]