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 { anchors {
right: parent.right right: parent.right
bottom: parent.bottom rightMargin: (opacity-1) * width
bottomMargin: 30 * pgst.scalef top: parent.top
topMargin: (Constants.layout.header.height * pgst.scalef - height) / 2
} }
text: 'Now Playing' text: 'Now Playing'

View file

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