[gnome-boxes/wip/image-import: 9/10] wizard: Set max-width on summary labels
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/image-import: 9/10] wizard: Set max-width on summary labels
- Date: Thu, 6 Jun 2013 20:41:08 +0000 (UTC)
commit de36bad342f4a02c758490f7876b23686bd32925
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.
src/wizard.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index c6ccf1d..8597e23 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]