Reputation: 4173
I'm trying to use an SVG image as the image for my buttons. The reason I'm using SVG is because the sizes of my buttons vary. However, when I use it in my stylesheet, the svg image isn't stretched according to the button's size.
How do you make it resize according to button's size in Qt stylesheet?
Upvotes: 2
Views: 3417
Reputation: 4173
I figured how to... just use border-image in your qt stylesheet... (^^,) .. no need to modify your code...
Upvotes: 2