Refactor ContentView to add animated scrolling
This commit is contained in:
@@ -15,7 +15,13 @@ Column {
|
||||
Row {
|
||||
Item {
|
||||
height: parent.height
|
||||
width: 16
|
||||
width: 16 + (xIndex * 270)
|
||||
Behavior on width {
|
||||
NumberAnimation {
|
||||
duration: 200
|
||||
easing.type: Easing.Linear
|
||||
}
|
||||
}
|
||||
}
|
||||
Text {
|
||||
text: title
|
||||
|
||||
Reference in New Issue
Block a user