generated from wm-packages/pika-hyprland-settings
Update changelog for v1.0.0-101pika9; optimize widget dimensions in ActiveWindow and NowPlaying for better fit on laptops
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 49s
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 49s
This commit is contained in:
parent
d140e68443
commit
320851a086
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
|||||||
1
|
2
|
@ -1,3 +1,9 @@
|
|||||||
|
pikabar (1.0.0-101pika9) pika; urgency=medium
|
||||||
|
|
||||||
|
* Fit laptops better when scaled
|
||||||
|
|
||||||
|
-- ferrreo <harderthanfire@gmail.com> Sat, 01 Oct 2022 14:50:00 +0300
|
||||||
|
|
||||||
pikabar (1.0.0-101pika8) pika; urgency=medium
|
pikabar (1.0.0-101pika8) pika; urgency=medium
|
||||||
|
|
||||||
* Another round of icon fixes
|
* Another round of icon fixes
|
||||||
|
@ -38,7 +38,7 @@ Row {
|
|||||||
font.pointSize: Globals.commonStyles.smallTextFontSize
|
font.pointSize: Globals.commonStyles.smallTextFontSize
|
||||||
font.family: Globals.commonStyles.fontFamily
|
font.family: Globals.commonStyles.fontFamily
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
width: Math.min(implicitWidth, 300)
|
width: Math.min(implicitWidth, 200)
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
}
|
}
|
||||||
|
@ -51,8 +51,8 @@ BarWidget {
|
|||||||
property double measuredWidth: {
|
property double measuredWidth: {
|
||||||
if (!root.player)
|
if (!root.player)
|
||||||
return 0;
|
return 0;
|
||||||
let titleWidth = Math.min(titleText.width, 300);
|
let titleWidth = Math.min(titleText.width, 200);
|
||||||
let artistWidth = Math.min(artistText.width, 300);
|
let artistWidth = Math.min(artistText.width, 200);
|
||||||
return ((Math.max(titleWidth, artistWidth) / Screen.devicePixelRatio) + artContainer.width) * Screen.devicePixelRatio;
|
return ((Math.max(titleWidth, artistWidth) / Screen.devicePixelRatio) + artContainer.width) * Screen.devicePixelRatio;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -166,7 +166,7 @@ BarWidget {
|
|||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: titleText
|
id: titleText
|
||||||
width: Math.min(implicitWidth, 300)
|
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: 2
|
||||||
@ -179,7 +179,7 @@ BarWidget {
|
|||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: artistText
|
id: artistText
|
||||||
width: Math.min(implicitWidth, 300)
|
width: Math.min(implicitWidth, 200)
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.top: parent.verticalCenter
|
anchors.top: parent.verticalCenter
|
||||||
anchors.topMargin: 2
|
anchors.topMargin: 2
|
||||||
|
Loading…
Reference in New Issue
Block a user