diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-09-30 05:03:53 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-09-30 05:03:53 +0000 |
| commit | 6c4c00ada3cceb323e6224b17e5deeb9de8610f8 (patch) | |
| tree | b99dc0222fd4cb54ce7efde0b285aecc775a5778 | |
| parent | Kludge for URI resolution of combining paths. Fixes bug #437927. (diff) | |
| download | inkscape-6c4c00ada3cceb323e6224b17e5deeb9de8610f8.tar.gz inkscape-6c4c00ada3cceb323e6224b17e5deeb9de8610f8.zip | |
slightly move text labels
(bzr r8679)
| -rw-r--r-- | share/filters/samplify.py | 4 |
1 files 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) |
