[gnome-boxes] wizard: Set max-width on summary labels



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]