On Mar 31, 7:12 pm, Kelie <kf9... at gmail.com> wrote: > Hello, > > My question is as subject. I tried something like this and it doesn't > work. > > def resizeEvent(self, event): > self.size = event.oldSize() > > Any hint? > > Thank you. You should preset size hints: http://doc.trolltech.com/4.2/qwidget.html#minimumSize-prop