diff options
Diffstat (limited to 'desktop/modules')
| -rw-r--r-- | desktop/modules/user/UserPage.qml | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/desktop/modules/user/UserPage.qml b/desktop/modules/user/UserPage.qml index f559538..feaf85f 100644 --- a/desktop/modules/user/UserPage.qml +++ b/desktop/modules/user/UserPage.qml @@ -144,9 +144,9 @@ Column { ClippingRectangle { anchors.horizontalCenter: parent.horizontalCenter - width: 96 - height: 96 - radius: 48 + width: 160 + height: 160 + radius: 80 color: Theme.surfaceAlt Image { @@ -154,14 +154,14 @@ Column { anchors.fill: parent source: form.draft.avatar ? "file://" + form.draft.avatar.split("/").map(encodeURIComponent).join("/") : "" fillMode: Image.PreserveAspectCrop - sourceSize: Qt.size(192, 192) + sourceSize: Qt.size(320, 320) cache: false } Text { anchors.centerIn: parent visible: pic.status !== Image.Ready text: "\uf007" - font { family: Theme.iconFamily; pixelSize: 40 } + font { family: Theme.iconFamily; pixelSize: 64 } color: Theme.subtext } MouseArea { @@ -233,6 +233,23 @@ Column { // arrives, which is after the draft. currentIndex: count >= 0 ? indexOfValue(form.draft[field.modelData.key] ?? "") : -1 onActivated: form.set(field.modelData.key, currentValue) + + // The default style paints a light control; the palette + // carries the theme into the popup and its rows too, and the + // background matches the text fields above. + implicitHeight: 34 + font { family: Theme.fontFamily; pixelSize: Theme.fontSize - 2 } + palette { + button: Theme.surface + buttonText: Theme.text + window: Theme.base + windowText: Theme.text + base: Theme.surface + text: Theme.text + highlight: Theme.accent + highlightedText: Theme.base + } + background: Rectangle { radius: 8; color: Theme.surface } } Text { |
