diff options
author | Walter Bender <walter@sugarlabs.org> | 2010-09-09 12:00:38 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2010-09-09 12:00:38 (GMT) |
commit | 055e18b910a53ff386485914f3793c27379112e6 (patch) | |
tree | f50aba3b628e428fbad0aacde6b80127351a1b82 /TurtleArt | |
parent | ae40dfd493336edaa4bbdba4e0f5dcc2edc95b02 (diff) |
made font smaller on the bottom-of-stack block (#2305)
Diffstat (limited to 'TurtleArt')
-rw-r--r-- | TurtleArt/taconstants.py | 2 | ||||
-rw-r--r-- | TurtleArt/tautils.py | 6 |
2 files changed, 4 insertions, 4 deletions
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) |