[gnome-shell/gbsneto/new-lock-screen-part2: 57/62] unlockDialog: Line notification labels horizontally



commit e9c50597413cb419ce73e67b9f43d8bff4cfe02f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Nov 29 16:05:45 2019 -0300

    unlockDialog: Line notification labels horizontally
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

 js/ui/unlockDialog.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index 9acaaf25e6..8d29b48e00 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -75,12 +75,18 @@ 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',
+            x_expand: true,
+            x_align: Clutter.ActorAlign.START,
         });
         textBox.add(title);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]