Qt 5.10, Windows 10 desktop.
The following QML code:
import QtQuick 2.10
import QtQuick.Window 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
Window {
visible: true
width: 250
height: 100
title: qsTr("My app")
GridLayout
{
columns: 2
Label {
text: "Setting1:"
}
ComboBox {
model: ["100%", "90%", "80%", "70%", "60%", "50%", "40%", "30%"]
}
CheckBox {
id: tidle
text: "Setting2:"
}
ComboBox {
model: ["90%", "80%", "70%", "60%", "50%", "40%", "30%"]
enabled: tidle.checked
}
}
}
gives the following result:
It looks quite badly for me:
1) "Setting1" label and checkbox are not visibly aligned.
2) Checkbox and ComboBox sizes are too big comparing to text size.
Do I miss something or it's the normal behavior?