Comment 20 for bug 968213

Revision history for this message
In , Pierre-bugzilla (pierre-bugzilla) wrote :

Some pointers on how to get multiline would be nice. I tried adding the following to iconGrid.js:

            this.label.line_wrap = true;
            this.label.line_wrap_mode = Pango.WrapMode.WORD_CHAR;
            this.label.ellipsize = Pango.EllipsizeMode.NONE;

No go though. It didn't even disable the ellipsing...

As plan B, I did this, which worked:

        this.tooltip = label;
        this.actor.has_tooltip = true;
        this.actor.tooltip_text = label;