By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,550 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,550 IT Pros & Developers. It's quick & easy.

PyQt - How to prevent a dialog being resized?

P: n/a
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.
Mar 31 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Mar 31, 7:12 pm, Kelie <kf9...@gmail.comwrote:
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...nimumSize-prop
Mar 31 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.