aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-04-24 23:59:21 +0800
committerMilan Crha <mcrha@redhat.com>2012-04-24 23:59:21 +0800
commit1c092c81c8f32d76c4869646bc92ba72230d1805 (patch)
treebc87c05ad61e3dcf33be021e249f87b11e5924e5
parent031c2b6b55d4cbfb9d393f68bc53ccd15d64e8d5 (diff)
downloadgsoc2013-evolution-1c092c81c8f32d76c4869646bc92ba72230d1805.tar.gz
gsoc2013-evolution-1c092c81c8f32d76c4869646bc92ba72230d1805.tar.zst
gsoc2013-evolution-1c092c81c8f32d76c4869646bc92ba72230d1805.zip
Bug #668769 - Recurrence editor weekday items slightly cropped
-rw-r--r--calendar/gui/dialogs/recurrence-page.ui12
-rw-r--r--calendar/gui/weekday-picker.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/calendar/gui/dialogs/recurrence-page.ui b/calendar/gui/dialogs/recurrence-page.ui
index 28c0dd36d7..6f0d175520 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 eaed5cc5ec..7c5f49d472 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);