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?
Printable View
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?
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/).
thank you, but I fixed it by placing QSpacers.