[libadwaita/wip/exalm/row-fixes: 1/4] action-row: Expand title box when empty too




commit 9040a5e9a74ce6c2aa3baac30315fe59c0bb3574
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Oct 12 12:56:15 2021 +0500

    action-row: Expand title box when empty too
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/158

 src/adw-action-row.ui | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/adw-action-row.ui b/src/adw-action-row.ui
index ee50fd86..8ac3ec41 100644
--- a/src/adw-action-row.ui
+++ b/src/adw-action-row.ui
@@ -33,6 +33,7 @@
             <property name="halign">start</property>
             <property name="orientation">vertical</property>
             <property name="valign">center</property>
+            <property name="hexpand">True</property>
             <style>
               <class name="title"/>
             </style>
@@ -40,7 +41,6 @@
               <object class="GtkLabel" id="title">
                 <property name="ellipsize">none</property>
                 <property name="halign">start</property>
-                <property name="hexpand">True</property>
                 <property name="label" bind-source="AdwActionRow" bind-property="title" 
bind-flags="sync-create"/>
                 <property name="lines">0</property>
                 <property name="wrap">True</property>
@@ -57,7 +57,6 @@
                 <property name="visible">False</property>
                 <property name="ellipsize">none</property>
                 <property name="halign">start</property>
-                <property name="hexpand">True</property>
                 <property name="lines">0</property>
                 <property name="wrap">True</property>
                 <property name="wrap-mode">word-char</property>


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