[gnome-shell/gbsneto/new-lock-screen-part2: 90/94] unlockDialog: Make notification labels vertical
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/new-lock-screen-part2: 90/94] unlockDialog: Make notification labels vertical
- Date: Mon, 20 Jan 2020 20:46:25 +0000 (UTC)
commit a67af1e1a025d35a6a6d7d66958b9bfe9edd2920
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Nov 29 16:05:45 2019 -0300
unlockDialog: Make notification labels vertical
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872
js/ui/unlockDialog.js | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index 1917f20b54..8b08077a59 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -75,11 +75,19 @@ var NotificationsBox = GObject.registerClass({
let sourceActor = new MessageTray.SourceActor(source, SUMMARY_ICON_SIZE);
box.add_child(sourceActor);
- let textBox = new St.BoxLayout({ vertical: true });
+ let textBox = new St.BoxLayout({
+ x_expand: true,
+ y_expand: true,
+ y_align: Clutter.ActorAlign.CENTER,
+ });
box.add_child(textBox);
- let title = new St.Label({ text: source.title,
- style_class: 'unlock-dialog-notification-label' });
+ let title = new St.Label({
+ text: source.title,
+ style_class: 'unlock-dialog-notification-label',
+ x_expand: true,
+ x_align: Clutter.ActorAlign.START,
+ });
textBox.add(title);
let count = source.unseenCount;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]