Automatically change the width of the editbox and it's parent panel/dialog?
General and Desktop
6
Posts
2
Posters
1.3k
Views
1
Watching
-
Do you need to resize the controls on a window resize?
If so, then take a look on "layouts":http://qt-project.org/doc/qt-5/layout.html
If not then you always can change a size of the widgets using "resize":http://qt-project.org/doc/qt-5/qwidget.html#size-prop method of QWidget
-
yeh, i know layouts.
I mean , when i input characters in the editbox, while the characters length increases, the editbox width increases, and the dialog which owns the editbox also increases,
can these width increase automatically?
or do i have to change the width always manually?