diff --git a/scripts/boxes2inkscape b/scripts/boxes2inkscape index b3ffd87..472c7ae 100755 --- a/scripts/boxes2inkscape +++ b/scripts/boxes2inkscape @@ -70,11 +70,11 @@ class Boxes2INX: elif a.type is boxes.argparseSections: t = "string" else: - t = { int : "int", - float : "float", - str : "string", - }.get(a.type, "string") - return ''' %s\n''' % (name, t, viewname, quoteattr(a.help or ""), a.default) + t = { int : '"int"', + float : '"float" precision="2"', + str : '"string"', + }.get(a.type, '"string"') + return ''' %s\n''' % (name, t, viewname, quoteattr(a.help or ""), a.default) def generator2inx(self, name, box): result = [ """