dashboard: fix blurry media pane
This commit is contained in:
parent
5d210087ff
commit
e36fb678db
1 changed files with 10 additions and 12 deletions
|
|
@ -10,6 +10,7 @@ import Quickshell.Services.Mpris
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
import QtQuick.Effects
|
import QtQuick.Effects
|
||||||
|
import QtQuick.Layouts
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
@ -145,7 +146,7 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Column {
|
ColumnLayout {
|
||||||
id: details
|
id: details
|
||||||
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
@ -157,7 +158,7 @@ Item {
|
||||||
StyledText {
|
StyledText {
|
||||||
id: title
|
id: title
|
||||||
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
animate: true
|
animate: true
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
@ -172,7 +173,7 @@ Item {
|
||||||
StyledText {
|
StyledText {
|
||||||
id: album
|
id: album
|
||||||
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
animate: true
|
animate: true
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
@ -187,7 +188,7 @@ Item {
|
||||||
StyledText {
|
StyledText {
|
||||||
id: artist
|
id: artist
|
||||||
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
animate: true
|
animate: true
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
@ -201,7 +202,7 @@ Item {
|
||||||
Row {
|
Row {
|
||||||
id: controls
|
id: controls
|
||||||
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
spacing: Appearance.spacing.small
|
spacing: Appearance.spacing.small
|
||||||
|
|
||||||
|
|
@ -299,9 +300,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
anchors.left: parent.left
|
Layout.fillWidth: true
|
||||||
anchors.right: parent.right
|
|
||||||
|
|
||||||
implicitHeight: Math.max(position.implicitHeight, length.implicitHeight)
|
implicitHeight: Math.max(position.implicitHeight, length.implicitHeight)
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
|
|
@ -325,9 +324,8 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Row {
|
RowLayout {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
spacing: Appearance.spacing.small
|
spacing: Appearance.spacing.small
|
||||||
|
|
||||||
Control {
|
Control {
|
||||||
|
|
@ -349,7 +347,7 @@ Item {
|
||||||
|
|
||||||
property bool expanded
|
property bool expanded
|
||||||
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
|
|
||||||
implicitWidth: slider.implicitWidth / 2
|
implicitWidth: slider.implicitWidth / 2
|
||||||
implicitHeight: currentPlayer.implicitHeight + Appearance.padding.small * 2
|
implicitHeight: currentPlayer.implicitHeight + Appearance.padding.small * 2
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue