[gnome-boxes] wizard: Set max-width on summary labels
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard: Set max-width on summary labels
- Date: Mon, 17 Jun 2013 09:21:58 +0000 (UTC)
commit d96fd404e8df9b35d22715d3fc6e1aef887c66f7
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 67f3669..daa35ed 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -753,6 +753,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]