Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to remove the spaces created by the lineEdit Disable??
kishore_hemmady last edited by
I want to remove the spaces created by the lineEdits which are disable.
ui->lineEdit->setVisible(false); creates a space after disabling.
i want to get the another lineEdit in the place of disabled lineEdit rather the space.
@kishore_hemmady I guess you mean the space taken by line edit in the layout?
You should remove the line edit from layout. Hiding it does not remove it from layout, so it is still there but not visible.