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 822dd6d..5e14744 100644 --- a/pikabar/debian/changelog +++ b/pikabar/debian/changelog @@ -1,3 +1,9 @@ +pikabar (1.0.0-101pika9) pika; urgency=medium + + * Fit laptops better when scaled + + -- ferrreo Sat, 01 Oct 2022 14:50:00 +0300 + pikabar (1.0.0-101pika8) pika; urgency=medium * Another round of icon fixes diff --git a/pikabar/usr/share/pikabar/widgets/ActiveWindow.qml b/pikabar/usr/share/pikabar/widgets/ActiveWindow.qml index 8186d75..5253976 100644 --- a/pikabar/usr/share/pikabar/widgets/ActiveWindow.qml +++ b/pikabar/usr/share/pikabar/widgets/ActiveWindow.qml @@ -38,7 +38,7 @@ Row { font.pointSize: Globals.commonStyles.smallTextFontSize font.family: Globals.commonStyles.fontFamily elide: Text.ElideRight - width: Math.min(implicitWidth, 300) + width: Math.min(implicitWidth, 200) horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter } diff --git a/pikabar/usr/share/pikabar/widgets/NowPlaying.qml b/pikabar/usr/share/pikabar/widgets/NowPlaying.qml index 6f9845b..f9d782a 100644 --- a/pikabar/usr/share/pikabar/widgets/NowPlaying.qml +++ b/pikabar/usr/share/pikabar/widgets/NowPlaying.qml @@ -51,8 +51,8 @@ BarWidget { property double measuredWidth: { if (!root.player) return 0; - let titleWidth = Math.min(titleText.width, 300); - let artistWidth = Math.min(artistText.width, 300); + let titleWidth = Math.min(titleText.width, 200); + let artistWidth = Math.min(artistText.width, 200); return ((Math.max(titleWidth, artistWidth) / Screen.devicePixelRatio) + artContainer.width) * Screen.devicePixelRatio; } @@ -166,7 +166,7 @@ BarWidget { Text { id: titleText - width: Math.min(implicitWidth, 300) + width: Math.min(implicitWidth, 200) anchors.left: parent.left anchors.bottom: parent.verticalCenter anchors.bottomMargin: 2 @@ -179,7 +179,7 @@ BarWidget { Text { id: artistText - width: Math.min(implicitWidth, 300) + width: Math.min(implicitWidth, 200) anchors.left: parent.left anchors.top: parent.verticalCenter anchors.topMargin: 2