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:

committed by
Florian Müllner

parent
3af4ca3fe9
commit
97f883b10e
@ -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);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user