- fixed text sizing issue at switch delegate

This commit is contained in:
Dorian Zedler 2019-03-29 21:15:24 +01:00
parent dc26169fe0
commit b089584981
3 changed files with 4 additions and 0 deletions

View file

@ -13,6 +13,7 @@ SmoothItemDelegate {
text: qsTr("delay (ms)")
width: parent.width
rightPadding: textField.width * 1.2
height: parent.delegateHeight
TextField {

View file

@ -17,6 +17,8 @@ ItemDelegate {
verticalCenter: parent.verticalCenter
left: parent.left
leftMargin: control.width * 0.02
right: parent.right
rightMargin: control.rightPadding
}
text: control.text

View file

@ -20,6 +20,7 @@ SwitchDelegate {
left: parent.left
right: indicator.left
leftMargin: control.width * 0.02
rightMargin: control.width * 0.01
}
text: control.text