[Interest] background images

Graham Labdon Graham.Labdon at avalonsciences.com
Wed Nov 20 12:06:08 CET 2013


Hi
I have a widget to which I want to apply a background image
I have done this by using a style sheet -

background-image: url(:/TestLogo/ASL2014 EMU Landscape background.jpg); background-position: top left; background-repeat: no-repeat;

This is fine as far as it goes-
But when the window is re-sized by the user the image does not fill the whole of the widget.
How is the best way to apply a background image to a widget and have it fill the whole of the widget when it is resized?

Thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131120/cd94c4e4/attachment.html>


More information about the Interest mailing list