Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-21 20:19:10 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-21 20:19:10 (GMT)
commit86dd33be02e69c03268dcbbccbf16e8800b309f4 (patch)
tree6d4b4524911c9d891d1c7de6a2442f301be2f756 /tawindow.py
parent652ab5bdc7f66d07a7f5997ad224421bd4b73c33 (diff)
fixed positioning bug
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tawindow.py b/tawindow.py
index 5e9538a..ebbcbd1 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -684,7 +684,7 @@ class TurtleArtWindow():
svg = SVG()
self.palette_sprs[n][self.orientation].set_shape(
svg_str_to_pixbuf(svg.palette(_w, PALETTE_HEIGHT)))
- self.palette_button[2].move((_w-20, 0))
+ self.palette_button[2].move((_w-20, self.toolbar_offset))
else:
_x, _y = 5, self.toolbar_offset+15
_x, _y, _max = self._vertical_layout(_x, _y, self.palettes[n])
@@ -702,7 +702,8 @@ class TurtleArtWindow():
svg = SVG()
self.palette_sprs[n][self.orientation].set_shape(
svg_str_to_pixbuf(svg.palette(PALETTE_WIDTH, _h)))
- self.palette_button[2].move((PALETTE_WIDTH-20, 0))
+ self.palette_button[2].move((PALETTE_WIDTH-20,
+ self.toolbar_offset))
self.palette_sprs[n][self.orientation].set_layer(CATEGORY_LAYER)
"""