From caaab6103a6a927a301e2fb28c45021f44587e6e Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 30 Sep 2009 05:03:53 +0000 Subject: [PATCH] slightly move text labels --- share/filters/samplify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/filters/samplify.py b/share/filters/samplify.py index 231f05f37..b81c15b82 100644 --- a/share/filters/samplify.py +++ b/share/filters/samplify.py @@ -132,7 +132,7 @@ for ch in root.getchildren(): text = etree.Element(e_text, nsmap=NSS) text.attrib['x']=str( q['x'] + q['width'] * (menu_shifts[menu] + 0.5) ) - text.attrib['y']=str( q['y'] + q['height'] * (menus.index(menu) + 1.8) ) + text.attrib['y']=str( q['y'] + q['height'] * (menus.index(menu) + 1.86) ) text.attrib['style']="font-size:%d;text-anchor:middle;" % (q['height']*0.08) text.text = fi.attrib[a_label] newroot.append(text) @@ -143,7 +143,7 @@ for ch in root.getchildren(): text = etree.Element(e_text, nsmap=NSS) text.attrib['x']=str( q['x'] + q['width'] * (menu_shifts[menu] + 0.5) ) - text.attrib['y']=str( q['y'] + q['height'] * (menus.index(menu) + 1.9) ) + text.attrib['y']=str( q['y'] + q['height'] * (menus.index(menu) + 1.92) ) text.attrib['style']="font-size:%d;text-anchor:middle;" % (q['height']*0.04) text.text = fi.attrib[a_tooltip] newroot.append(text) -- 2.30.2