Implement "text-align"

"text-align" allows setting the alignment of text, with respect to
other lines and allocated space, without requiring a reference to
the ClutterText (which is private for most widgets).
If not specified, all text is left-aligned.

https://bugzilla.gnome.org/show_bug.cgi?id=622447
This commit is contained in:
Giovanni Campagna
2010-06-22 22:04:45 +02:00
committed by Florian Müllner
parent 3af4ca3fe9
commit 97f883b10e
5 changed files with 67 additions and 1 deletions

View File

@ -456,7 +456,6 @@ AppIcon.prototype = {
box.add(this.icon, { expand: true, x_fill: false, y_fill: false });
this._name = new St.Label({ text: this.app.get_name() });
this._name.clutter_text.line_alignment = Pango.Alignment.CENTER;
box.add_actor(this._name);
}
};