From f79bbe54987d96704879b64ac5fb9230fd351df9 Mon Sep 17 00:00:00 2001 From: Andy Holmes Date: Thu, 10 Aug 2017 19:16:02 -0700 Subject: [PATCH] should fix Container.add() errors, should resolve #5 --- src/prefs.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/prefs.js b/src/prefs.js index fbc0c98..d24dae5 100644 --- a/src/prefs.js +++ b/src/prefs.js @@ -406,7 +406,7 @@ const SettingsWidget = new Lang.Class({ use_markup: true, label: "" + title + "" }); - this.box.add(label, { expand: false, fill: true }); + this.box.pack_start(label, false, true, 0); } let section = new Gtk.Frame({ @@ -441,7 +441,7 @@ const SettingsWidget = new Lang.Class({ activatable: false, selectable: false }); - section.list.add(itemRow), { expand: true, fill: false }; + section.list.add(itemRow); // Row Layout let itemBox = new Gtk.Box({ @@ -450,7 +450,7 @@ const SettingsWidget = new Lang.Class({ valign: Gtk.Align.CENTER, spacing: 12 }); - itemRow.add(itemBox, { expand: true, fill: false }); + itemRow.add(itemBox); // Setting Summary let itemLabel = new Gtk.Label({ @@ -464,7 +464,7 @@ const SettingsWidget = new Lang.Class({ hexpand: true, label: label, }); - itemBox.add(itemLabel, { expand: true, fill: false }); + itemBox.pack_start(itemLabel, false, true, 0); itemBox.add(widget);