[gnome-shell] messageList: Center-align close button vertically
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] messageList: Center-align close button vertically
- Date: Mon, 28 Mar 2022 14:54:45 +0000 (UTC)
commit 421591359ff21ba3c21cce0513d676c105e0e7e4
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Mar 25 17:11:28 2022 +0100
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>
js/ui/messageList.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/ui/messageList.js b/js/ui/messageList.js
index 6151bb4a57..99c544d017 100644
--- a/js/ui/messageList.js
+++ b/js/ui/messageList.js
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]