padOsd: Fix double styling
We set the StLabel style property, there's no need to re-apply the large/bold text style via markup. Makes the StLabel text size consistent across editable state changes. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1290
This commit is contained in:
parent
04e8ebcb2d
commit
b5591fef10
@ -868,8 +868,7 @@ var PadOsd = GObject.registerClass({
|
|||||||
this._tipLabel.set_text(_("Press any key to exit"));
|
this._tipLabel.set_text(_("Press any key to exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
this._titleLabel.clutter_text.set_markup(
|
this._titleLabel.set_text(title);
|
||||||
'<span size="larger"><b>%s</b></span>'.format(title));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_isEditedAction(type, number, dir) {
|
_isEditedAction(type, number, dir) {
|
||||||
|
Loading…
Reference in New Issue
Block a user