[gnome-software/1838-external-software-banner-papercuts: 13/13] gs-overview-page: Correct packing of the third-party info bar




commit 0ecf2c09dd276db8a251bf5b04fdce6420b7ae7e
Author: Milan Crha <mcrha redhat com>
Date:   Thu Aug 4 13:30:36 2022 +0200

    gs-overview-page: Correct packing of the third-party info bar
    
    Do not pack into the action area, rather use content area. Also make
    the text centered.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1838

 src/gs-overview-page.ui | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/src/gs-overview-page.ui b/src/gs-overview-page.ui
index 55c9dd795..54c9fe883 100644
--- a/src/gs-overview-page.ui
+++ b/src/gs-overview-page.ui
@@ -20,19 +20,15 @@
                   <object class="GtkInfoBar" id="infobar_third_party">
                     <property name="show_close_button">True</property>
                     <child>
-                      <object class="GtkBox">
-                        <property name="spacing">6</property>
-                        <child/>
-                      </object>
-                    </child>
-                    <child type="action">
                       <object class="GtkBox">
                         <property name="orientation">vertical</property>
-                        <property name="spacing">6</property>
-                        <property name="margin-top">12</property>
-                        <property name="margin-bottom">12</property>
-                        <property name="margin-start">12</property>
-                        <property name="margin-end">12</property>
+                        <property name="spacing">3</property>
+                        <property name="margin-top">6</property>
+                        <property name="margin-bottom">6</property>
+                        <property name="margin-start">6</property>
+                        <property name="margin-end">6</property>
+                        <property name="halign">start</property>
+                        <property name="hexpand">True</property>
                         <child>
                           <object class="GtkLabel" id="label_third_party_title">
                             <property name="halign">start</property>


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