Alignment of SVG - svg-ui

SVG inside SVG. Both have viewbox which then both do it's thing. For user the inner one is something to maybe care about but still, both do affect. This is not something that human brain can figure out. That's why my highly simplified solution for centering that simple emoji works. By removing most of adjustments, all do fall back to defaults. But what if something needs adjustments?

I have anything bad to say about the node. Probably it is most powerful of ui widgets overall. But for sure it takes to have at least basic knowledge about SVG to use it properly or at least to being able to understand the source of misbehaviors. Layouting is trickiest part of the SVG and is full of non expected happenings.

I'm really sorry. Didn't want to hurt your feelings anyhow.

1 Like

I completely agree! You've done an excellent work @BartButenaers .

1 Like

Ditto :star_struck:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.