lifelike / countersheetsextension

Inkscape extension for the layout of sheets of cards, tiles, or counters for boardgames.
Other
237 stars 27 forks source link

Set Attribute height and width does not change #100

Open Kopra410 opened 1 year ago

Kopra410 commented 1 year ago

I am trying to change element size using the set attribute method, but the size does not change. I can see in xml editor that the attribute has changed but the size is not updated.

Has anyone got it working and do you need more information to find the bug?

lifelike commented 1 year ago

What are you trying to set the width or height of? Some SVG element that is part of the template?

A minimal testcase would be useful, but a slightly more detailed description would be enough (and I can try to add a test that reproduces this by trying to set the size of something).

lifelike commented 1 year ago

I created a small testcase and it works for me, so it does not seem as if setting width or height is always broken. It might be broken in some specific case(s) of course.

https://github.com/lifelike/countersheetsextension/blob/master/svgtests/input/resize.svg https://github.com/lifelike/countersheetsextension/blob/master/svgtests/input/resize.csv