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



commit ddd33f21b16b52dd144e88bd9a7ea3edc59afbba
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 | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/gs-overview-page.ui b/src/gs-overview-page.ui
index 55c9dd795..23900c9d9 100644
--- a/src/gs-overview-page.ui
+++ b/src/gs-overview-page.ui
@@ -20,12 +20,6 @@
                   <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>
@@ -33,6 +27,8 @@
                         <property name="margin-bottom">12</property>
                         <property name="margin-start">12</property>
                         <property name="margin-end">12</property>
+                        <property name="halign">center</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]