Better place for the throbber
This commit is contained in:
parent
579b88cdac
commit
ec561ea966
2 changed files with 4 additions and 3 deletions
|
@ -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'
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue