[gnome-shell/wip/carlosg/osk-widgetry-fixes: 1/5] keyboard: Tell keyboard container to expand



commit b98e6005ba49640b8ee4459b386bfaf98d00b82d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jan 21 15:00:18 2020 +0100

    keyboard: Tell keyboard container to expand
    
    Otherwise the KeyContainer won't use up available space.
    
    Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2142

 js/ui/keyboard.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 4590d49612..90f7e8b5db 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -1291,7 +1291,7 @@ class Keyboard extends St.BoxLayout {
         this.add_child(this._suggestions);
 
         this._aspectContainer = new AspectContainer({ layout_manager: new Clutter.BinLayout() });
-        this.add_child(this._aspectContainer);
+        this.add(this._aspectContainer, { expand: true });
 
         this._emojiSelection = new EmojiSelection();
         this._emojiSelection.connect('toggle', this._toggleEmoji.bind(this));


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