summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2023-02-13 09:40:24 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2023-02-13 20:46:53 -0500
commit1f8777178ecc3c6fac598a461e8c2c6071dff6ee (patch)
tree5b429f13dc26def3a2d9cf05e79235d20cdc17ea
parentUpdate message (diff)
downloadnheko-1f8777178ecc3c6fac598a461e8c2c6071dff6ee.tar.xz
Limit max width of blurb
-rw-r--r--resources/qml/delegates/EncryptionEnabled.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/qml/delegates/EncryptionEnabled.qml b/resources/qml/delegates/EncryptionEnabled.qml

index 8be12b04..2e2684e4 100644 --- a/resources/qml/delegates/EncryptionEnabled.qml +++ b/resources/qml/delegates/EncryptionEnabled.qml
@@ -14,7 +14,8 @@ Rectangle { required property string username radius: fontMetrics.lineSpacing / 2 + Nheko.paddingMedium - width: parent.width ? parent.width : 0 + width: parent.width ? Math.min(parent.width, 700) : 0 + anchors.horizontalCenter: parent.horizontalCenter height: contents.implicitHeight + Nheko.paddingMedium * 2 color: Nheko.colors.alternateBase border.color: Nheko.theme.green