Commit 42c958ad authored by Sergey Chupligin's avatar Sergey Chupligin Committed by Sergey Chupligin

[ButtonRow] Fixup selector on start

parent a2c1c7f6
...@@ -66,6 +66,8 @@ Rectangle { ...@@ -66,6 +66,8 @@ Rectangle {
color: Theme.accentColor color: Theme.accentColor
clip: true clip: true
visible: main.currentIndex > -1 visible: main.currentIndex > -1
width: main.currentIndex > -1 ? rowElement.children[main.currentIndex].width : 0
x: rowElement.children[main.currentIndex].x
Behavior on x { Behavior on x {
NumberAnimation { duration: 200; easing.type: Easing.OutCubic} NumberAnimation { duration: 200; easing.type: Easing.OutCubic}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment