Skip to content

Commit

Permalink
Update margins
Browse files Browse the repository at this point in the history
  • Loading branch information
Iktwo committed Sep 16, 2014
1 parent ed93c74 commit aa76d95
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions qml/PlaybackControls.qml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ Rectangle {
RowLayout {
anchors.fill: parent

Item {
height: 1
Layout.preferredWidth: 4 * ScreenValues.dpMultiplier
}

Label {
/// TODO: add animation where this flashes if paused
Layout.fillWidth: true
Expand Down Expand Up @@ -157,18 +162,21 @@ Rectangle {
renderType: Text.NativeRendering
font.pixelSize: 12 * ScreenValues.dpMultiplier
}

Item {
height: 1
Layout.preferredWidth: 4 * ScreenValues.dpMultiplier
}
}
}

Label {
id: songLabel

anchors {
left: parent.left
right: parent.right
margins: 1 * ScreenValues.dpMultiplier
}
anchors.horizontalCenter: parent.horizontalCenter

width: parent.width - (16 * ScreenValues.dpMultiplier)
Layout.preferredWidth: parent.width - (16 * ScreenValues.dpMultiplier)
color: Style.TEXT_COLOR_DARK
renderType: Text.NativeRendering
font.pixelSize: 14 * ScreenValues.dpMultiplier
Expand Down

0 comments on commit aa76d95

Please sign in to comment.