Better place for the throbber

This commit is contained in:
Thomas Perl 2014-03-15 20:44:12 +01:00
parent 579b88cdac
commit ec561ea966
2 changed files with 4 additions and 3 deletions

View file

@ -113,8 +113,9 @@ Item {
anchors {
right: parent.right
bottom: parent.bottom
bottomMargin: 30 * pgst.scalef
rightMargin: (opacity-1) * width
top: parent.top
topMargin: (Constants.layout.header.height * pgst.scalef - height) / 2
}
text: 'Now Playing'

View file

@ -58,7 +58,7 @@ Item {
anchors {
left: icon.visible ? icon.right : parent.left
right: parent.right
rightMargin: 20 * pgst.scalef
rightMargin: 20 * pgst.scalef + (throbber.width * throbber.opacity)
leftMargin: 20 * pgst.scalef
verticalCenter: parent.verticalCenter
}