[Qt-interest] Shrink background images ?

Karol Krizka kkrizka at gmail.com
Tue Dec 23 01:54:51 CET 2008


On Monday 22 December 2008 16:29:47 Mick at el wrote:
> Hi.
>
> Is there a way to shrink automatically background images set via a
> stylesheet ? eg. background-image: url(foo.svg);
>
As far as I know, background-image does not support scaling. Try using border-
image, if you need the background to shrink as your widget that you are 
styling shrinks.

Cheers,
Karol Krizka

http://www.krizka.net



More information about the Qt-interest-old mailing list