From 86dd33be02e69c03268dcbbccbf16e8800b309f4 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sun, 21 Feb 2010 20:19:10 +0000 Subject: fixed positioning bug --- (limited to 'tawindow.py') 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) """ -- cgit v0.9.1