[gnome-software: 3/4] gs-details-page: Hide reviews clamp if reviews box is hidden




commit 4f796f13d1a80b8a790039888b11b9e642101ca2
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu Aug 12 13:45:42 2021 +0100

    gs-details-page: Hide reviews clamp if reviews box is hidden
    
    This prevents an additional spacing from the parent box being shown and
    increasing the page’s overall bottom margin incorrectly.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 src/gs-details-page.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 5fd46cf25..1eca5419b 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -832,7 +832,7 @@
 
                     <child>
                       <object class="HdyClamp">
-                        <property name="visible">True</property>
+                        <property name="visible" bind-source="box_reviews" bind-property="visible" 
bind-flags="sync-create"/>
                         <property name="maximum-size">860</property>
                         <property name="margin-start">12</property>
                         <property name="margin-end">12</property>


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