Don't get too large of corners

This commit is contained in:
Loren Burkholder 2021-12-04 17:52:14 -05:00
parent d15094b21e
commit b25cda6939

View file

@ -14,7 +14,7 @@ Rectangle {
required property int encryptionError required property int encryptionError
required property string eventId required property string eventId
radius: height / 4 radius: fontMetrics.xHeight + Nheko.paddingMedium
width: parent ? parent.width : undefined width: parent ? parent.width : undefined
height: contents.implicitHeight + Nheko.paddingMedium * 2 height: contents.implicitHeight + Nheko.paddingMedium * 2
color: Nheko.colors.alternateBase color: Nheko.colors.alternateBase