messageList: Center-align close button vertically
Otherwise it may end up stretched when using larger text. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2257>
This commit is contained in:
parent
8ba7f0f4a9
commit
421591359f
@ -369,6 +369,7 @@ var Message = GObject.registerClass({
|
||||
this._closeButton = new St.Button({
|
||||
style_class: 'message-close-button',
|
||||
child: closeIcon, opacity: 0,
|
||||
y_align: Clutter.ActorAlign.CENTER,
|
||||
});
|
||||
titleBox.add_actor(this._closeButton);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user