Reputation: 39881
How to make QTextEdit to be resized in a QWidget while the QWidget is being resized? Should I overload resizeEvent function for the QWidget?
Upvotes: 0
Views: 2264
Reputation: 411
You should use layouts too achive this. There is an excellent tutorial by the trolls on how to do this: http://qt.nokia.com/doc/4.6/layout.html.
Upvotes: 3
Reputation: 8516
No, you should set the sizePolicy property for your QTextEdit object.
Upvotes: 1