Update changelog for v1.0.0-101pika13; replace Image with IconImage and adjust margins for better layout in NowPlaying QML file
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 42s

This commit is contained in:
ferreo 2024-11-18 11:51:22 +00:00
parent e67cf6cef2
commit b6e5bd54f8
3 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
1 2

View File

@ -1,4 +1,4 @@
pikabar (1.0.0-101pika12) pika; urgency=medium pikabar (1.0.0-101pika13) pika; urgency=medium
* Use ClippingRectangle for now playing art * Use ClippingRectangle for now playing art

View File

@ -101,11 +101,10 @@ BarWidget {
border.color: "#9900246b" border.color: "#9900246b"
border.width: 2 border.width: 2
Image { IconImage {
id: artImage id: artImage
anchors.fill: parent anchors.fill: parent
source: root.player?.trackArtUrl ?? "" source: root.player?.trackArtUrl ?? ""
fillMode: Image.PreserveAspectFit
} }
} }
@ -153,7 +152,7 @@ BarWidget {
width: Math.min(implicitWidth, 200) width: Math.min(implicitWidth, 200)
anchors.left: parent.left anchors.left: parent.left
anchors.bottom: parent.verticalCenter anchors.bottom: parent.verticalCenter
anchors.bottomMargin: 2 anchors.bottomMargin: 4
text: root.player?.trackTitle || "" text: root.player?.trackTitle || ""
elide: Text.ElideRight elide: Text.ElideRight
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
@ -167,6 +166,7 @@ BarWidget {
width: Math.min(implicitWidth, 200) width: Math.min(implicitWidth, 200)
anchors.left: parent.left anchors.left: parent.left
anchors.top: parent.verticalCenter anchors.top: parent.verticalCenter
anchors.topMargin: -2
text: root.player?.trackArtists || "" text: root.player?.trackArtists || ""
elide: Text.ElideRight elide: Text.ElideRight
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor