Improve account settings avatar font size

This commit is contained in:
miruka 2020-06-26 07:24:37 -04:00
parent 475b07793d
commit 1a93190ee2

View File

@ -179,7 +179,10 @@ HFlickableColumnPage {
theme.colors.accentText : theme.colors.brightText
Behavior on color { HColorAnimation {} }
font.pixelSize: theme.fontSize.small
font.pixelSize: Math.max(
theme.fontSize.big * avatar.width / 300,
theme.fontSize.small,
)
wrapMode: Text.WordWrap
horizontalAlignment: Qt.AlignHCenter