Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'sugar/graphics')
-rw-r--r--sugar/graphics/palette.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py
index 7c9f357..40e66da 100644
--- a/sugar/graphics/palette.py
+++ b/sugar/graphics/palette.py
@@ -177,7 +177,7 @@ class Palette(gtk.Window):
labels_box = gtk.VBox()
self._label_alignment = gtk.Alignment(xalign=0, yalign=0.5,
- xscale=0, yscale=0.33)
+ xscale=1, yscale=0.33)
self._label_alignment.set_padding(0, 0, style.DEFAULT_SPACING,
style.DEFAULT_SPACING)
self._label_alignment.add(labels_box)
@@ -426,7 +426,7 @@ class Palette(gtk.Window):
gtk.Window.do_size_request(self, requisition)
# gtk.AccelLabel request doesn't include the accelerator.
- label_width = self._label.size_request()[0] + \
+ label_width = self._label_alignment.size_request()[0] + \
self._label.get_accel_width() + \
2 * self.get_border_width()