Skip to content
Discussion options

You must be logged in to vote

Try setting the viewbox height and width to the same as the widget height and width: as seen here.

I'm not an expert on paths, and SVGs (which I know the Slint paths are based on) to know the specific details of why this is the way it is, but I know this works from when I was running into the same issue, while I was first learning Slint.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@loloof64
Comment options

Answer selected by loloof64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants