[gnome-clocks] Make the laps list as tall as the circle



commit 7f612be98b8fbc96ce2453ded9d045903547f170
Author: Paolo Borelli <pborelli gnome org>
Date:   Fri Aug 23 00:08:38 2013 +0200

    Make the laps list as tall as the circle

 data/css/gnome-clocks.css |   10 ----------
 data/ui/stopwatch.ui      |   13 ++++++-------
 2 files changed, 6 insertions(+), 17 deletions(-)
---
diff --git a/data/css/gnome-clocks.css b/data/css/gnome-clocks.css
index 0b6cc45..ccaf01c 100644
--- a/data/css/gnome-clocks.css
+++ b/data/css/gnome-clocks.css
@@ -144,16 +144,6 @@
 
 .clocks-laps-panel {
     border: 0;
-    padding-top: 120px;
-    padding-bottom: 120px;
-}
-
-.clocks-laps-panel:dir(ltr) {
-    padding-right: 48px;
-}
-
-.clocks-laps-panel:dir(rtl) {
-    padding-left: 48px;
 }
 
 .clocks-stopwatch-laps-row {
diff --git a/data/ui/stopwatch.ui b/data/ui/stopwatch.ui
index 934dca5..ca4a7cf 100644
--- a/data/ui/stopwatch.ui
+++ b/data/ui/stopwatch.ui
@@ -8,21 +8,21 @@
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="hexpand">True</property>
+        <property name="valign">center</property>
+        <property name="margin_left">48</property>
+        <property name="margin_right">48</property>
+        <property name="margin_top">48</property>
+        <property name="margin_bottom">48</property>
+        <property name="column_spacing">48</property>
         <child>
           <object class="ClocksStopwatchFrame" id="analog_frame">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="margin_left">48</property>
-            <property name="margin_right">48</property>
-            <property name="margin_top">48</property>
-            <property name="margin_bottom">48</property>
             <child>
               <object class="GtkGrid" id="top_grid">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="halign">center</property>
-                <property name="hexpand">True</property>
-                <property name="valign">center</property>
                 <property name="row_spacing">24</property>
                 <property name="column_homogeneous">True</property>
                 <child>
@@ -106,7 +106,6 @@
           <object class="GtkFrame" id="laps_panel">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="vexpand">True</property>
             <style>
               <class name="clocks-laps-panel"/>
             </style>


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