[gnome-boxes/gnome-3-8] wizard: Set max-width on summary labels
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-8] wizard: Set max-width on summary labels
- Date: Mon, 29 Jul 2013 17:21:59 +0000 (UTC)
commit 0339e0c7d8d43747cc239ce277bcf42ec7e5d464
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Jun 6 23:11:27 2013 +0300
wizard: Set max-width on summary labels
We were setting the label to ellipsize but without setting max-width on
labels, this was useless.
https://bugzilla.gnome.org/show_bug.cgi?id=690757
src/wizard.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 93a20cb..14729f2 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -757,6 +757,7 @@ private class Boxes.Wizard: Boxes.UI {
var label_value = new Gtk.Label (value);
label_value.get_style_context ().add_class ("boxes-wizard-summary-prop-value-label");
label_value.set_ellipsize (Pango.EllipsizeMode.END);
+ label_value.set_max_width_chars (32);
label_value.xalign = 0.0f;
grid.attach (label_value, 1, current_row, 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]