Locking Widgets to the form
Solved
General and Desktop
-
Hello all,
I am currently designing an interface in the Qt designer. Sometimes, my mouse acts funny and accidentally drags a widget that is behind the widget that I want to position.
Basically, I am wondering if there is any way that I can lock the position of a widget in the Qt designer?
-
@Omni_Philm said in Locking Widgets to the form:
Basically, I am wondering if there is any way that I can lock the position of a widget in the Qt designer?
Unfortunately not. However, Ctrl+Z (or Cmd+Z on macOS) will quickly undo the wrong move.
Sometimes, my mouse acts funny and accidentally drags a widget that is behind the widget that I want to position.
How about using Layouts instead of absolute positioning? https://doc.qt.io/qt-5/layout.html