From 424ce6ca93668f47faf41e917bf1bfffdd895485 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Mon, 13 Sep 2010 17:05:24 +0000 Subject: fixed labelling problem with collapsed stack bottom --- diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py index d3c7289..355f9bf 100644 --- a/TurtleArt/taconstants.py +++ b/TurtleArt/taconstants.py @@ -351,7 +351,7 @@ BLOCK_NAMES = { 'rightx':[_('picture right')], 'savepix':[_('save picture')], 'savesvg':[_('save SVG')], - 'sandwichbottom':[' '], + 'sandwichbottom':[' ', ' '], 'sandwichcollapsed':[' ', _('click to open')], 'sandwichtop':[_('top of stack')], 'sandwichtop_no_label':[' '], diff --git a/TurtleArt/tautils.py b/TurtleArt/tautils.py index 3b7011c..9813a30 100644 --- a/TurtleArt/tautils.py +++ b/TurtleArt/tautils.py @@ -458,6 +458,7 @@ def collapse_stack(top): _blk.svg.set_hide(False) _blk._dx = 0 _blk._ey = 0 + _blk.spr.set_label(' ') _blk.spr.set_label(' ', 1) _blk.resize() _blk.spr.set_label(_('click to open'), 1) -- cgit v0.9.1