<br><br><div class="gmail_quote">On Wed, Mar 3, 2010 at 5:58 PM, Aaron J. Seigo <span dir="ltr"><<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On March 3, 2010, Antony Loebs wrote:<br>
> Hmm...I added the following<br>
> def paintEvent(self, event):<br>
> size = self.geometry()<br>
> height = size.height()<br>
> self.resize(height * 4, height)<br>
><br>
> But that doesn't work. Do I need to completely re-implement drawing the<br>
> pixmap in paintEvent?<br>
<br>
</div></div>yes; which isn't hard (it's one call). and you don't want to be resizing<br>
yourself in the paintEvent (that has the potential for endless looping due to<br>
resize -> repaint -> resize..)<br></blockquote><div><br> <br></div></div><br>