[recipes] details page: Adjust the content warnings



commit 1fbe378ee1fdfa1746f75fc35ea0c612f5a5ecad
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 22 20:34:18 2016 -0500

    details page: Adjust the content warnings
    
    With a segmented ingredients list, it no longer makes
    sense to show the content warnings at the top of (each)
    segment. Instead, move them closer to the images, to
    separate them from the ingredients list.
    
    Following new mockups by Jakub.

 src/gr-details-page.ui |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/gr-details-page.ui b/src/gr-details-page.ui
index 2fe0f4b..c6ef1c8 100644
--- a/src/gr-details-page.ui
+++ b/src/gr-details-page.ui
@@ -115,12 +115,11 @@ followed</property>
               <object class="GtkBox">
                 <property name="visible">1</property>
                 <property name="orientation">vertical</property>
-                <property name="spacing">20</property>
+                <property name="spacing">10</property>
                 <property name="valign">start</property>
                 <child>
                   <object class="GrImageViewer" id="recipe_image">
                     <property name="visible">1</property>
-                    <property name="margin-bottom">30</property>
                   </object>
                 </child>
                 <child>
@@ -137,9 +136,6 @@ followed</property>
                             <property name="tooltip-text" translatable="yes">Contains garlic</property>
                             <property name="icon-size">1</property>
                           </object>
-                          <packing>
-                            <property name="pack-type">end</property>
-                          </packing>
                         </child>
                         <child>
                           <object class="GtkImage" id="spicy_warning">
@@ -147,9 +143,6 @@ followed</property>
                             <property name="tooltip-text" translatable="yes">Spicy</property>
                             <property name="icon-size">1</property>
                           </object>
-                          <packing>
-                            <property name="pack-type">end</property>
-                          </packing>
                         </child>
                       </object>
                     </child>
@@ -157,6 +150,7 @@ followed</property>
                       <object class="GtkBox" id="ingredients_box">
                         <property name="visible">1</property>
                         <property name="orientation">vertical</property>
+                        <property name="margin-top">30</property>
                       </object>
                     </child>
                   </object>


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