on xenial help sign in
animate both margins, more fluent and fixes word-wrapped text being reflown on the fly
commitb5e5a8aafe9954637ba9af571e3a7fb60a8ae62e authorLukáš Tinkl <lukas.tinkl@canonical.com> dateMon 21 Sep 2015, 15:35 (11 years ago) parenta64454f
2 files changed+2−1
qml/Wizard/Page.qml+1 qml/Wizard/Pages/40-location.qml+1−1
qml/Wizard/Page.qml+1
@@ -202,6 +202,7 @@ Item {
202202 right: parent.right
203203 bottom: buttonBarVisible ? buttonRect.top : parent.top
204204 leftMargin: contentHolder.animatedMargin
205+ rightMargin: -contentHolder.animatedMargin
205206 }
206207 }
207208
qml/Wizard/Pages/40-location.qml+1−1
@@ -65,7 +65,7 @@ LocalComponents.Page {
6565 rightMargin: units.gu(1)
6666 }
6767
68− wrapMode: content.animatedMargin ? Text.NoWrap : Text.WordWrap
68+ wrapMode: Text.WordWrap
6969 color: textColor
7070 font.weight: checked ? Font.Normal : Font.Light
7171 text: i18n.tr("Use GPS, Wi-Fi hotspots and mobile network anonymously to detect location (recommended)")