Implement UI zooming

This commit is contained in:
miruka
2019-12-04 09:08:38 -04:00
parent 87a81ed1a7
commit 34e0ec7c7d
18 changed files with 61 additions and 31 deletions

View File

@@ -7,7 +7,7 @@ import "../../utils.js" as Utils
HPage {
id: accountSettings
property int avatarPreferredSize: 256
property int avatarPreferredSize: 256 * theme.uiScale
property string userId: ""

View File

@@ -95,7 +95,7 @@ HGridLayout {
svgName: "upload-avatar"
colorize: (! avatar.mxc && overlayHover.hovered) ?
theme.colors.accentText : theme.icons.colorize
dimension: 64
dimension: avatar.width / 3
Layout.alignment: Qt.AlignCenter
}