diff --git a/qml/components/InputDelegate.qml b/qml/components/InputDelegate.qml index 39c6477..1edcaa3 100644 --- a/qml/components/InputDelegate.qml +++ b/qml/components/InputDelegate.qml @@ -13,6 +13,7 @@ SmoothItemDelegate { text: qsTr("delay (ms)") width: parent.width + rightPadding: textField.width * 1.2 height: parent.delegateHeight TextField { diff --git a/qml/components/SmoothItemDelegate.qml b/qml/components/SmoothItemDelegate.qml index 49810e9..bde655f 100644 --- a/qml/components/SmoothItemDelegate.qml +++ b/qml/components/SmoothItemDelegate.qml @@ -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 diff --git a/qml/components/SmoothSwitchDelegate.qml b/qml/components/SmoothSwitchDelegate.qml index 4c7cccd..8942d21 100644 --- a/qml/components/SmoothSwitchDelegate.qml +++ b/qml/components/SmoothSwitchDelegate.qml @@ -20,6 +20,7 @@ SwitchDelegate { left: parent.left right: indicator.left leftMargin: control.width * 0.02 + rightMargin: control.width * 0.01 } text: control.text