summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3d901dd)
raw | patch | inline | side by side (parent: 3d901dd)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 30 Sep 2009 05:03:53 +0000 (05:03 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 30 Sep 2009 05:03:53 +0000 (05:03 +0000) |
share/filters/samplify.py | patch | blob | history |
index 231f05f3796696e866e923b8876a12b86838a199..b81c15b82ade0ba6e1799a71b2ab329a97e45a4e 100644 (file)
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)
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)