Background position in pixels
-
Can someone please confirm that in Qt Stylsheets we can use xpos ypos.
background-position in pixels so we have only one image and use sprites like we do in websites.
Currently in Qt documentation they have mentioned:
http://doc.qt.nokia.com/4.2/stylesheet.html
background-position:
top
| bottom
| left
| right
| centerand not x and y coordinates.
-
I chked the sources and looks like Qt webkit has code to recognize background-position x and y values.
see: webkit/webcore/css/CSSParser.cppNormal widgets only support alignment ..
see: gui/text/qcssparser.cpp