From b6e5bd54f8b1c241b254c692a1eab7c27627e1aa Mon Sep 17 00:00:00 2001 From: ferreo Date: Mon, 18 Nov 2024 11:51:22 +0000 Subject: [PATCH] Update changelog for v1.0.0-101pika13; replace Image with IconImage and adjust margins for better layout in NowPlaying QML file --- .github/release-nest-v3 | 2 +- pikabar/debian/changelog | 2 +- pikabar/usr/share/pikabar/widgets/NowPlaying.qml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/release-nest-v3 b/.github/release-nest-v3 index 56a6051..d8263ee 100644 --- a/.github/release-nest-v3 +++ b/.github/release-nest-v3 @@ -1 +1 @@ -1 \ No newline at end of file +2 \ No newline at end of file diff --git a/pikabar/debian/changelog b/pikabar/debian/changelog index dd862b6..41264d9 100644 --- a/pikabar/debian/changelog +++ b/pikabar/debian/changelog @@ -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 diff --git a/pikabar/usr/share/pikabar/widgets/NowPlaying.qml b/pikabar/usr/share/pikabar/widgets/NowPlaying.qml index fa0b086..fd88189 100644 --- a/pikabar/usr/share/pikabar/widgets/NowPlaying.qml +++ b/pikabar/usr/share/pikabar/widgets/NowPlaying.qml @@ -101,11 +101,10 @@ BarWidget { border.color: "#9900246b" border.width: 2 - Image { + IconImage { id: artImage anchors.fill: parent source: root.player?.trackArtUrl ?? "" - fillMode: Image.PreserveAspectFit } } @@ -153,7 +152,7 @@ BarWidget { width: Math.min(implicitWidth, 200) anchors.left: parent.left anchors.bottom: parent.verticalCenter - anchors.bottomMargin: 2 + anchors.bottomMargin: 4 text: root.player?.trackTitle || "" elide: Text.ElideRight color: Globals.commonStyles.textColor @@ -167,6 +166,7 @@ BarWidget { width: Math.min(implicitWidth, 200) anchors.left: parent.left anchors.top: parent.verticalCenter + anchors.topMargin: -2 text: root.player?.trackArtists || "" elide: Text.ElideRight color: Globals.commonStyles.textColor