~philip.scott/granite/editable-title

« back to all changes in this revision

Viewing changes to lib/Widgets/AlertView.vala

  • Committer: RabbitBot
  • Author(s): Daniel Foré
  • Date: 2016-10-26 18:05:54 UTC
  • mfrom: (1001.1.1 wrap-alert-title)
  • Revision ID: rabbitbot-20161026180554-sf7vg2t88gsdxn55
AlertView: Wrap title label

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
        title_label = new Gtk.Label (null);
90
90
        title_label.hexpand = true;
91
91
        title_label.get_style_context ().add_class ("h2");
 
92
        title_label.max_width_chars = 45;
 
93
        title_label.wrap = true;
 
94
        title_label.wrap_mode = Pango.WrapMode.WORD_CHAR;
92
95
        title_label.xalign = 0;
93
96
 
94
97
        description_label = new Gtk.Label (null);