[Qt-interest] drawing contents over the border in style sheets

Looki Angel lookias at yahoo.com
Mon Mar 16 15:35:02 CET 2009


hello,
i have a style sheet which looks like this:

#chatwindowbuttonscrollArea{
border-left:150px;
border-right:10px;
border-image:url(qss/pink/pinktowhitebigbutton.png) 0 10 0 350 repeat stretch;
}

this looks nice, but the buttons inside this widget are placed inside the contents rectangle of the parent object "chatwindowbuttonscrollArea" and this leads to some place that is then wasted.
what i want is the repeat and stretch functionality with a resulting picture that acts like a background picture.

has anyone of you an idea how to do that?

regards 



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090316/c10d8403/attachment.html 


More information about the Qt-interest-old mailing list