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



commit af64816893f25cf88b93fa3f12262ee52c84e428
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jan 21 16:22:34 2020 +0100

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

 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 90f7e8b5db..1db2a43392 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -918,7 +918,7 @@ var EmojiSelection = GObject.registerClass({
         this._emojiPager.connect('emoji', (pager, str) => {
             this.emit('emoji-selected', str);
         });
-        this.add_child(this._emojiPager);
+        this.add(this._emojiPager, { expand: true });
 
         this._pageIndicator = new PageIndicators.PageIndicators(
             Clutter.Orientation.HORIZONTAL


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