Hi,
I have issue in not getting adjusted with the layout controls if any one of the widget in the layout is re-sized dynamically. If i expand one of the widget it even overlays with the adjacent widget too.
Any idea what need to be set to do it working!!
connect( ui.emaillineEdit, SIGNAL(textChanged(const QString&)),
this, SLOT(updatefieldWidth(const QString&)));
...
...
//updatefieldWidth(const QString&) slot code
nWidth += 15;
this->ui.emaillineEdit->setGeometry( ui.emaillineEdit->geometry().x(),
ui.emaillineEdit->geometry().y(), nWidth, ui.emaillineEdit->geometry().height() );
connect( ui.emaillineEdit, SIGNAL(textChanged(const QString&)),
this, SLOT(updatefieldWidth(const QString&)));
...
...
//updatefieldWidth(const QString&) slot code
nWidth += 15;
this->ui.emaillineEdit->setGeometry( ui.emaillineEdit->geometry().x(),
ui.emaillineEdit->geometry().y(), nWidth, ui.emaillineEdit->geometry().height() );
To copy to clipboard, switch view to plain text mode
Please find the attached image below,
Layout1.JPG
Thanks,
Nikhil
Bookmarks