rougier / svg-lib

Emacs SVG libraries for creatings tags, icons and bars
GNU General Public License v3.0
335 stars 30 forks source link

Set SVG width #32

Closed chookity-pokk closed 1 year ago

chookity-pokk commented 1 year ago

I am trying to make an svg header-line (here) but the problem I am running in to is that svg-lib-tag doesn't have a width option, so when my tag on the left changes sizes (shorter path/filename) then that causes position problems with the tag on the right because the only way I could set their positions was to use margin.

So I was wondering if there was any reason in particular that we can't set the width? Or, is there a way to set a width that I'm missing?

chookity-pokk commented 1 year ago

Actually, nevermind. If I just use my brain a little bit then I can do the math to get it figured out. Sorry for the wasted time!