Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tablock.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt/tablock.py')
-rw-r--r--TurtleArt/tablock.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/TurtleArt/tablock.py b/TurtleArt/tablock.py
index 463784a..7ccfba3 100644
--- a/TurtleArt/tablock.py
+++ b/TurtleArt/tablock.py
@@ -385,7 +385,11 @@ class Block:
self.tw.running_sugar)
n = 0
for i in range(n):
- if i == 1: # top
+ if self.name in COMPARE_PORCH_STYLE or \
+ self.name in NUMBER_STYLE_PORCH: # special case
+ self.spr.set_label_attributes(int(self._font_size[0] + 0.5),
+ True, 'center', 'bottom', i)
+ elif i == 1: # top
self.spr.set_label_attributes(int(self._font_size[1] + 0.5),
True, 'right', 'top', i)
elif i == 2: # bottom