mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
displays: fix text-alignment in model mode
This commit is contained in:
@@ -83,6 +83,7 @@ Rectangle {
|
||||
font.pixelSize: Math.max(10, Math.min(14, root.width * 0.12))
|
||||
font.weight: Font.Medium
|
||||
color: root.isConnected ? Theme.surfaceText : Theme.surfaceVariantText
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
elide: Text.ElideMiddle
|
||||
width: Math.min(implicitWidth, root.width - 8)
|
||||
|
||||
Reference in New Issue
Block a user