-
August 31st, 2012, 02:22 PM
#1
Qt c++ Problem with resizing widget
Hi all
I have QTextEdit in mainWindow. I'm trying to resize QTextEdit so height = mainwindow.height and width = height/2. That should change when I change the size of mainWindow during runtime.
How can I do that?
-
September 6th, 2012, 03:50 AM
#2
Re: Qt c++ Problem with resizing widget
You can use the layout-grid in the resource editor. This automagically resizes everything on a widget when the widget is resized. Also, there are forums specially for QT (http://www.qtcentre.org/).
-
September 6th, 2012, 09:42 AM
#3
Re: Qt c++ Problem with resizing widget
thank you, but I fixed it by placing QSpacers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|