diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2023-02-13 09:40:24 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2023-02-13 20:46:53 -0500 |
commit | 1f8777178ecc3c6fac598a461e8c2c6071dff6ee (patch) | |
tree | 5b429f13dc26def3a2d9cf05e79235d20cdc17ea /resources/qml | |
parent | Update message (diff) | |
download | nheko-1f8777178ecc3c6fac598a461e8c2c6071dff6ee.tar.xz |
Limit max width of blurb
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/delegates/EncryptionEnabled.qml | 3 |
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 |