[gnome-software/1656-app-details-apps-with-no-ratings-histogram-have-floating-shadow] gs-details-page: Hide histogram listbox when nothing shown in it



commit 8f670a96de6a65d6539285148e5835cf4ef60001
Author: Milan Crha <mcrha redhat com>
Date:   Wed Feb 23 14:51:07 2022 +0100

    gs-details-page: Hide histogram listbox when nothing shown in it
    
    Applications without ratings would show an almost empty gap, which doesn't
    look good, thus rather hide it and give more space to any reviews.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1656

 src/gs-details-page.ui | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index ad3bf6515..3e00207b2 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -808,6 +808,7 @@
                                             <property name="can_focus">True</property>
                                             <property name="selection_mode">none</property>
                                             <property name="valign">start</property>
+                                            <property name="visible" bind-source="histogram" 
bind-property="visible" bind-flags="sync-create"/>
                                             <style>
                                               <class name="boxed-list"/>
                                             </style>


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