test rounding policy environment variable
This commit is contained in:
@@ -95,13 +95,25 @@ ColumnLayout {
|
|||||||
anchors.margins: Appearance.padding.normal
|
anchors.margins: Appearance.padding.normal
|
||||||
spacing: Appearance.spacing.normal
|
spacing: Appearance.spacing.normal
|
||||||
|
|
||||||
|
CustomClippingRect {
|
||||||
|
Layout.preferredHeight: 50
|
||||||
|
Layout.preferredWidth: 50
|
||||||
|
radius: Appearance.rounding.full
|
||||||
|
|
||||||
MaterialIcon {
|
MaterialIcon {
|
||||||
|
anchors.centerIn: parent
|
||||||
color: user.index === users.currentIndex ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurfaceVariant
|
color: user.index === users.currentIndex ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurfaceVariant
|
||||||
fill: 1
|
fill: 1
|
||||||
font.pointSize: Appearance.font.size.extraLarge
|
font.pointSize: Appearance.font.size.extraLarge
|
||||||
text: modelData.kind === "x11" ? "tv" : "account_circle"
|
text: modelData.kind === "x11" ? "tv" : "account_circle"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CachingImage {
|
||||||
|
anchors.fill: parent
|
||||||
|
path: modelData.face
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
spacing: Appearance.spacing.small / 2
|
spacing: Appearance.spacing.small / 2
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
pragma Singleton
|
||||||
|
|
||||||
|
import Quickshell
|
||||||
|
|
||||||
|
Singleton {
|
||||||
|
}
|
||||||
@@ -52,16 +52,11 @@ RowLayout {
|
|||||||
CustomRect {
|
CustomRect {
|
||||||
id: fill
|
id: fill
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.bottom: parent.bottom
|
||||||
antialiasing: false
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
color: root.mainColor
|
color: root.mainColor
|
||||||
implicitHeight: Math.ceil(root.percentage * parent.height)
|
implicitHeight: Math.ceil(root.percentage * parent.height)
|
||||||
radius: Appearance.rounding.full
|
|
||||||
|
|
||||||
transform: Scale {
|
|
||||||
origin.y: fill.height
|
|
||||||
yScale: Math.max(0.001, root.animatedPercentage)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
//@ pragma Env QSG_RHI_BACKEND=vulkan
|
//@ pragma Env QSG_RHI_BACKEND=vulkan
|
||||||
//@ pragma Env QSG_USE_SIMPLE_ANIMATION_DRIVER=0
|
//@ pragma Env QSG_USE_SIMPLE_ANIMATION_DRIVER=0
|
||||||
//@ pragma Env QS_NO_RELOAD_POPUP=1
|
//@ pragma Env QS_NO_RELOAD_POPUP=1
|
||||||
|
//@ pragma Env QT_SCALE_FACTOR_ROUNDING_POLICY=Round
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import qs.Modules
|
import qs.Modules
|
||||||
import qs.Modules.Wallpaper
|
import qs.Modules.Wallpaper
|
||||||
@@ -23,7 +24,6 @@ ShellRoot {
|
|||||||
|
|
||||||
Lock {
|
Lock {
|
||||||
id: lock
|
id: lock
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Shortcuts {
|
Shortcuts {
|
||||||
|
|||||||
Reference in New Issue
Block a user