[gnome-software] Add drop shadows to icons in app tiles as well



commit 6643b576cd629f1f3a591994623a26930919edb5
Author: Kalev Lember <klember redhat com>
Date:   Wed Mar 13 13:21:40 2019 +0100

    Add drop shadows to icons in app tiles as well
    
    In addition to app rows that commit f1431be fixed, the icons in app
    tiles also need drop shadows to separate them from white background.

 src/gs-app-tile.ui     | 3 +++
 src/gs-popular-tile.ui | 3 +++
 src/gs-summary-tile.ui | 3 +++
 3 files changed, 9 insertions(+)
---
diff --git a/src/gs-app-tile.ui b/src/gs-app-tile.ui
index b3510464..167db8a1 100644
--- a/src/gs-app-tile.ui
+++ b/src/gs-app-tile.ui
@@ -71,6 +71,9 @@
                     <property name="visible">True</property>
                     <property name="width-request">64</property>
                     <property name="height-request">64</property>
+                    <style>
+                      <class name="icon-dropshadow"/>
+                    </style>
                   </object>
                   <packing>
                     <property name="left-attach">0</property>
diff --git a/src/gs-popular-tile.ui b/src/gs-popular-tile.ui
index a6d792e0..2b1cea33 100644
--- a/src/gs-popular-tile.ui
+++ b/src/gs-popular-tile.ui
@@ -73,6 +73,9 @@
                         <property name="visible">True</property>
                         <property name="valign">center</property>
                         <property name="vexpand">True</property>
+                        <style>
+                          <class name="icon-dropshadow"/>
+                        </style>
                       </object>
                     </child>
                     <child>
diff --git a/src/gs-summary-tile.ui b/src/gs-summary-tile.ui
index a63bbd6f..0cb14cab 100644
--- a/src/gs-summary-tile.ui
+++ b/src/gs-summary-tile.ui
@@ -70,6 +70,9 @@
                     <property name="visible">True</property>
                     <property name="width-request">64</property>
                     <property name="height-request">64</property>
+                    <style>
+                      <class name="icon-dropshadow"/>
+                    </style>
                   </object>
                   <packing>
                     <property name="left-attach">0</property>


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