[gnome-software] overview: Center the contents and avoid horizontally stretching it
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] overview: Center the contents and avoid horizontally stretching it
- Date: Sun, 3 Aug 2014 15:10:38 +0000 (UTC)
commit 3b413f5727864b31af5835c51832446a928da0be
Author: Kalev Lember <kalevlember gmail com>
Date: Sun Aug 3 15:17:36 2014 +0200
overview: Center the contents and avoid horizontally stretching it
This makes it appear nicer in wide screens when gnome-software window is
maximized.
https://bugzilla.gnome.org/show_bug.cgi?id=710634
src/gs-shell-overview.ui | 2 ++
src/popular-tile.ui | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-shell-overview.ui b/src/gs-shell-overview.ui
index 5eae369..f6ea247 100644
--- a/src/gs-shell-overview.ui
+++ b/src/gs-shell-overview.ui
@@ -28,6 +28,8 @@
<object class="GtkBox" id="box_overview">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="halign">center</property>
+ <property name="hexpand">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="featured_heading">
diff --git a/src/popular-tile.ui b/src/popular-tile.ui
index 3bfdb6d..48aa028 100644
--- a/src/popular-tile.ui
+++ b/src/popular-tile.ui
@@ -72,8 +72,8 @@
<property name="valign">end</property>
<property name="margin">6</property>
<property name="ellipsize">end</property>
- <property name="width_chars">10</property>
- <property name="max_width_chars">15</property>
+ <property name="width_chars">12</property>
+ <property name="max_width_chars">12</property>
</object>
<packing>
<property name="expand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]