[gnome-boxes/wip/feborges/flowbox: 19/24] icon-view: Align machine_name with the thumbnail
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/feborges/flowbox: 19/24] icon-view: Align machine_name with the thumbnail
- Date: Thu, 4 Jan 2018 13:37:41 +0000 (UTC)
commit 6807c1e4a2d0e1006482e1b0c28f7ed13ddbd92a
Author: Felipe Borges <felipeborges gnome org>
Date: Thu Jan 4 13:25:47 2018 +0100
icon-view: Align machine_name with the thumbnail
Prevent long names from expading the widget.
https://bugzilla.gnome.org/show_bug.cgi?id=791839
data/ui/icon-view-child.ui | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/icon-view-child.ui b/data/ui/icon-view-child.ui
index 9328ccb..42764b6 100644
--- a/data/ui/icon-view-child.ui
+++ b/data/ui/icon-view-child.ui
@@ -77,12 +77,14 @@
<object class="GtkLabel" id="machine_name">
<property name="visible">True</property>
<property name="width-request">192</property>
- <property name="max-width-chars">128</property>
- <property name="justify">left</property>
+ <property name="max-width-chars">20</property>
+ <property name="justify">center</property>
<property name="halign">start</property>
<property name="hexpand">True</property>
<property name="valign">center</property>
- <property name="ellipsize">end</property>
+ <property name="ellipsize">middle</property>
+ <property name="lines">3</property>
+ <property name="wrap">True</property>
<property name="margin-top">10</property>
</object>
<packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]