We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb4bde1 commit 295bef0Copy full SHA for 295bef0
tksvg/__init__.py
@@ -49,12 +49,12 @@ def configure(self, **kwargs):
49
if kwargs:
50
return tk.PhotoImage.configure(self, **kwargs)
51
52
- options = ()
+ options = ""
53
for key, value in svg_options.items():
54
if value is not None:
55
- options += (f"-{key}", str(value))
+ options += f"-{key} {value}"
56
57
- self.tk.eval("%s configure -format {svg %s}" % (self.name, " ".join(options)))
+ self.tk.eval("%s configure -format {svg %s}" % (self.name, options))
58
59
config = configure
60
0 commit comments