Implement UI zooming
This commit is contained in:
@@ -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: ""
|
||||
|
||||
|
@@ -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
|
||||
}
|
||||
|
@@ -101,7 +101,6 @@ HPage {
|
||||
|
||||
HButton {
|
||||
icon.name: modelData
|
||||
iconItem.dimension: 24
|
||||
circle: true
|
||||
checked: loginWith == modelData
|
||||
enabled: modelData == "username"
|
||||
|
Reference in New Issue
Block a user