Re: [Interest] QTextEdit not resizing with QFormLayout

2012-05-08 Thread Diego Iastrubni
be resizing according to the mainwindow both vertically and > horizontally. > > ** ** > > ** ** > > ** ** > > > *Sent:* Tuesday, May 08, 2012 1:53 PM > *To:* Sujan Dasmahapatra > *Cc:* interest@qt-project.org > *Subject:* Re: [Interest] QTextEdit not resizing

Re: [Interest] QTextEdit not resizing with QFormLayout

2012-05-08 Thread Sujan Dasmahapatra
ok. Edit1 should be resizing according to the mainwindow both vertically and horizontally. Sent: Tuesday, May 08, 2012 1:53 PM To: Sujan Dasmahapatra Cc: interest@qt-project.org Subject: Re: [Interest] QTextEdit not resizing with QFormLayout Use layouts, not absolute positioning. Read the

Re: [Interest] QTextEdit not resizing with QFormLayout

2012-05-08 Thread Samuel Gaist
And also the doc about QMainWindow: http://qt-project.org/doc/qt-4.8/qmainwindow.html#details On 8 mai 2012, at 10:22, Diego Iastrubni wrote: > Use layouts, not absolute positioning. Read the docs about it. > > > On Tue, May 8, 2012 at 11:13 AM, Sujan Dasmahapatra > wrote: > Please check thi

Re: [Interest] QTextEdit not resizing with QFormLayout

2012-05-08 Thread Diego Iastrubni
Use layouts, not absolute positioning. Read the docs about it. On Tue, May 8, 2012 at 11:13 AM, Sujan Dasmahapatra wrote: > Please check this code snippet, with this when I resize the mainwindow, > my textedit is not resizing. What could be the problem pls help. > > ** ** > > //mainwindow.h

[Interest] QTextEdit not resizing with QFormLayout

2012-05-08 Thread Sujan Dasmahapatra
Please check this code snippet, with this when I resize the mainwindow, my textedit is not resizing. What could be the problem pls help. //mainwindow.h QPushButton *button; QTextEdit *edit; QFormLayout *formL; //mainwindow.cpp MainWindow::MainWindow(QWidget *parent):QMainWindow(parent)