Improve account settings avatar font size
This commit is contained in:
parent
475b07793d
commit
1a93190ee2
@ -179,7 +179,10 @@ HFlickableColumnPage {
|
|||||||
theme.colors.accentText : theme.colors.brightText
|
theme.colors.accentText : theme.colors.brightText
|
||||||
Behavior on color { HColorAnimation {} }
|
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
|
wrapMode: Text.WordWrap
|
||||||
horizontalAlignment: Qt.AlignHCenter
|
horizontalAlignment: Qt.AlignHCenter
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user