[evolution] Bug #668769 - Recurrence editor weekday items slightly cropped



commit 1c092c81c8f32d76c4869646bc92ba72230d1805
Author: Milan Crha <mcrha redhat com>
Date:   Tue Apr 24 17:59:21 2012 +0200

    Bug #668769 - Recurrence editor weekday items slightly cropped

 calendar/gui/dialogs/recurrence-page.ui |   12 ++++++------
 calendar/gui/weekday-picker.c           |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/calendar/gui/dialogs/recurrence-page.ui b/calendar/gui/dialogs/recurrence-page.ui
index 28c0dd3..6f0d175 100644
--- a/calendar/gui/dialogs/recurrence-page.ui
+++ b/calendar/gui/dialogs/recurrence-page.ui
@@ -295,15 +295,15 @@
                       </object>
                       <packing>
                         <property name="padding">0</property>
-                        <property name="expand">True</property>
-                        <property name="fill">True</property>
+                        <property name="expand">False</property>
+                        <property name="fill">False</property>
                       </packing>
                     </child>
                   </object>
                   <packing>
                     <property name="padding">0</property>
-                    <property name="expand">True</property>
-                    <property name="fill">True</property>
+                    <property name="expand">False</property>
+                    <property name="fill">False</property>
                   </packing>
                 </child>
               </object>
@@ -317,7 +317,7 @@
           <packing>
             <property name="padding">0</property>
             <property name="expand">False</property>
-            <property name="fill">True</property>
+            <property name="fill">False</property>
           </packing>
         </child>
         <child>
@@ -597,7 +597,7 @@
                   </object>
                   <packing>
                     <property name="padding">0</property>
-                    <property name="expand">False</property>
+                    <property name="expand">True</property>
                     <property name="fill">True</property>
                   </packing>
                 </child>
diff --git a/calendar/gui/weekday-picker.c b/calendar/gui/weekday-picker.c
index eaed5cc..7c5f49d 100644
--- a/calendar/gui/weekday-picker.c
+++ b/calendar/gui/weekday-picker.c
@@ -178,7 +178,7 @@ configure_items (WeekdayPicker *wp)
 		c = get_day_text (day);
 		gnome_canvas_item_set (priv->labels[i],
 				       "text", c,
-				       "x", (double) (i * box_width) + box_width / 2.0,
+				       "x", (double) (i * box_width) + PADDING,
 				       "y", (double) (1 + PADDING),
 				       NULL);
 		g_free (c);



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