fix(lockscreen): wrap custom clock text to avoid overflow. fix #2173

This commit is contained in:
Lemmy
2026-03-13 21:52:11 -04:00
parent b17f720350
commit 8f1a812ccf
+4
View File
@@ -172,6 +172,7 @@ Rectangle {
// Custom Clock (Stacked)
ColumnLayout {
anchors.centerIn: parent
width: parent.width
visible: Settings.data.general.clockStyle === "custom"
spacing: -3
@@ -182,8 +183,11 @@ Rectangle {
pointSize: Style.fontSizeL
font.weight: Style.fontWeightBold
color: Color.mOnSurface
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
Layout.alignment: Qt.AlignHCenter
Layout.maximumWidth: parent.width
Layout.fillWidth: true
}
}
}