In which way don't they work?
The four zeroes in:
Qt Code:
qb->setStyleSheet("border-image: url(test.png) 0 0 0 0 stretch; border-width: 2;");To copy to clipboard, switch view to plain text mode
circumvents the "cutting in 9 and scale the centre" feature by defining the whole image as the centre. Unless you do this I suspect you can fiddle as much as you want with the image size and borders, but nonetheless the image will be cut in 9 and stretched in a way you don't want it to be stretched in.
There is nothing pathetic about background-image, and as earlier said it's the correct thing. The real problem here is the missing support for background-size in Qt. Read the CSS spec!
Bookmarks