PDA

View Full Version : Dynamic Text Editor size in tab widget?



samercier
8th June 2012, 22:58
Okay so I have a qt4 textEdit widget in a tabWidget which is the center widget. How can I have the textEdit widget dynamically size itself in the tabWidget?

ChrisW67
9th June 2012, 07:36
If you call QTabWidget::addTab() with a QTextEdit then resizing is automatic. Since you imply that you are not seeing that then you need to show us how you put your text edit 'into' your tab widget.