I'm trying to hide a QDoubleSpinBox in a Qt interface program, using c++.
I have found the function hide(), but it is not working as I expected, since when I hide the element, the space it used to occupy, is not taken into account, so all my window turns crazy. I was wondering if there is any function to hide and keep the space occupied, like if it is normal. I thought that maybe would be a function like this because is common in other frameworks or even JavaScript.
If there is not... any solution?