diff --git a/src/controls/qml/ButtonRow.qml b/src/controls/qml/ButtonRow.qml index 981ecad..fbba17a 100644 --- a/src/controls/qml/ButtonRow.qml +++ b/src/controls/qml/ButtonRow.qml @@ -67,7 +67,7 @@ Rectangle { clip: true visible: main.currentIndex > -1 width: main.currentIndex > -1 ? rowElement.children[main.currentIndex].width : 0 - x: rowElement.children[main.currentIndex].x + x: main.currentIndex > 0 ? rowElement.children[main.currentIndex].x : 0 Behavior on x { NumberAnimation { duration: 200; easing.type: Easing.OutCubic}