[polari] userList: Replace border-width



commit 106c481c4406768ed466a9469af22db908e95db8
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Oct 10 01:07:32 2020 +0200

    userList: Replace border-width
    
    The property no longer exists in GTK4, so replace it with margins
    on the child.
    
    https://gitlab.gnome.org/GNOME/polari/-/merge_requests/174

 data/resources/main-window.ui | 1 -
 src/userList.js               | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/resources/main-window.ui b/data/resources/main-window.ui
index abcd240e..604633da 100644
--- a/data/resources/main-window.ui
+++ b/data/resources/main-window.ui
@@ -2,7 +2,6 @@
 <interface>
   <object class="Gjs_UserListPopover" id="userListPopover">
     <property name="position">bottom</property>
-    <property name="border-width">6</property>
     <property name="width-request">250</property>
     <property name="relative-to">showUserListButton</property>
     <style>
diff --git a/src/userList.js b/src/userList.js
index 2c6056ca..a9fb9c45 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -41,6 +41,7 @@ class UserListPopover extends Gtk.Popover {
         this._box = new Gtk.Box({
             orientation: Gtk.Orientation.VERTICAL,
             spacing: 6,
+            margin: 6,
         });
         this.add(this._box);
 


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