mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue