that doesn't seem to make a difference.

I guess I just need to paint it smaller than the widget's rect()?
I wonder how QPushButton and all the other widgets do it. I'd like to just mimic that.



On 10/07/12 7:30 PM, Sebastian Elner wrote:
On 07/10/2012 09:13 AM, Frank Rueter | OHUfx wrote:
|painter.fillRect(self.rect(),  bgColor)|
Can you repalce this with:
|
painter.fillRect(event.rect(),bgColor)|

--
Sebastian Elsner    -    pipeline td   -   r i s e |  fx

t:  +49 30 [email protected]
                                           www.risefx.com

r i s e |  fx  GmbH
Schlesische Strasse 28 Aufgang B, 10997 Berlin
Geschäftsführer: Sven Pannicke, Robert Pinnow

Handelsregister Berlin HRB 106667 B


_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside


_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to