[FEATURE]Add non-scaling-stroke option to smart symbols

When you increase the size of smart symbols, the strokes scale with them. Can there please be an option added to stop stroke scaling?


I don’t know if I can hack this style (vector-effect="non-scaling-stroke") on as you have to apply it to the specific SVG path object :thinking:

Also, the alignment of the level indicator is super average… that’s something I’d send straight back to the grad who did it :laughing:

Also also, if the tank border edges are rounded, then so too should be the level indicator edges, at least the ones along the tank perimeter. Currently they’re square

svg’s dont have this property

You can do a work around by setting viewbox:"" and basicly change all the number values that have to be dynamic to % (so all but the stroke?)

copy pasted this from an other example that used rx

    "type": "ia.shapes.svg",
    "version": 0,
    "props": {
      "preserveAspectRatio": "none",
      "elements": [
          "type": "rect",
          "width": "100%",
          "height": "100%",
          "rx": 50
    "meta": {
      "name": "test"
    "position": {
      "x": 105,
      "y": 446,
      "height": 275,
      "width": 626
    "custom": {}

Hm this probably wont work with paths, only simple objects, idk