How to set postion/width/Height of the controls for different Screen size, Orientation?
Unsolved
General and Desktop
-
Hi all,
I want to set the height and width to controls like text box/labels which should be adjustable according to screen size and orientation.
Button {
id: idbtnSubmit
x: 8
y: 212
width: 141
height: 39onClicked: {
}
}Now, the position/Height/Width are defined static, But it should not like this.
How to set the position/Height/width for different sizes? -
@Mathan-M You should use layouts for that: http://doc.qt.io/qt-5/qtquicklayouts-index.html