@@ -83,15 +83,6 @@ Item {
87− var cX = row.width - flickable.width > 0 ? row.width - flickable.width : 0
93− Behavior on contentX { enabled: !expanded; NumberAnimation { duration: 1000; easing: UbuntuAnimation.StandardEasing } }
95 IndicatorsRow {
86 IndicatorsRow {
97 enabled: false
88 enabled: false
@@ -99,15 +90,10 @@ Item {
99 top: parent.top
90 top: parent.top
100 bottom: parent.bottom
91 bottom: parent.bottom
101 right: parent.right
92 right: parent.right
103− var rM = row.width - flickable.width < 0 ? row.width - flickable.width : 0;
96+ onContentXChanged: console.log("contentX: ", contentX)
113 states: [
99 states: [
@@ -118,10 +104,19 @@ Item {
118 target: d
104 target: d
119 rowOffset: 0
105 rowOffset: 0
109+ contentX: row.width - flickable.width > 0 ? row.width - flickable.width : 0
113+ anchors.rightMargin: row.width - flickable.width < 0 ? row.width - flickable.width : 0
123 name: "expanded"
117 name: "expanded"
124 when: expanded
118 when: expanded
125 PropertyChanges {
120 PropertyChanges {
126 target: d
121 target: d
127 rowOffset: {
122 rowOffset: {
@@ -132,13 +127,35 @@ Item {
132 return rowOffset;
127 return rowOffset;
133+ var cX = row.width - flickable.width > 0 ? row.width - flickable.width : 0
142+ anchors.rightMargin: {
143+ var rM = row.width - flickable.width < 0 ? row.width - flickable.width : 0;
138 transitions: [
153 transitions: [
139 Transition {
154 Transition {
140 to: "minimized"
155 to: "minimized"
156+ PropertyAction { target: d; properties: "rowOffset" }
157+ PropertyAnimation { target: flickable; properties: "contentX"; duration: 1000; easing: UbuntuAnimation.StandardEasing }
141− PropertyAnimation { target: d; properties: "rowOffset"; duration: 1000; easing: UbuntuAnimation.StandardEasing }
158+ PropertyAnimation { target: row; properties: "anchors.rightMargin"; duration: 1000; easing: UbuntuAnimation.StandardEasing }