From 055e18b910a53ff386485914f3793c27379112e6 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 09 Sep 2010 12:00:38 +0000 Subject: made font smaller on the bottom-of-stack block (#2305) --- diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py index b2c5447..d3c7289 100644 --- a/TurtleArt/taconstants.py +++ b/TurtleArt/taconstants.py @@ -352,7 +352,7 @@ BLOCK_NAMES = { 'savepix':[_('save picture')], 'savesvg':[_('save SVG')], 'sandwichbottom':[' '], - 'sandwichcollapsed':[_('click to open')], + 'sandwichcollapsed':[' ', _('click to open')], 'sandwichtop':[_('top of stack')], 'sandwichtop_no_label':[' '], 'sandwichtop_no_arm':[_('top of stack')], diff --git a/TurtleArt/tautils.py b/TurtleArt/tautils.py index 9b19f24..3b7011c 100644 --- a/TurtleArt/tautils.py +++ b/TurtleArt/tautils.py @@ -372,7 +372,7 @@ def restore_stack(top): _olddy = _blk.docks[1][3] # Replace 'sandwichcollapsed' shape with 'sandwichbottom' shape _blk.name = 'sandwichbottom' - _blk.spr.set_label(' ') + _blk.spr.set_label(' ', 1) _blk.svg.set_show(False) _blk.svg.set_hide(True) _blk.refresh() @@ -458,9 +458,9 @@ 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')) + _blk.spr.set_label(_('click to open'), 1) _blk.resize() # Redock to sandwich top in group _you = find_sandwich_top(_blk) -- cgit v0.9.1