summary refs log tree commit diff
path: root/resources/qml/UserProfile.qml
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-01-30 00:33:46 +0100
committerGitHub <noreply@github.com>2021-01-30 00:33:46 +0100
commit5930b8eb31e4fd2cc743abbc041f9bd62fdbf0b8 (patch)
tree2e7a7f6fd1deac1b67d4f815bacbabf326169b97 /resources/qml/UserProfile.qml
parentTranslated using Weblate (Estonian) (diff)
parentClose user profile dialog on Esc (diff)
downloadnheko-5930b8eb31e4fd2cc743abbc041f9bd62fdbf0b8.tar.xz
Merge pull request #381 from LorenDB/centerUserInfo
Center user info dialog on the screen
Diffstat (limited to 'resources/qml/UserProfile.qml')
-rw-r--r--resources/qml/UserProfile.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/qml/UserProfile.qml b/resources/qml/UserProfile.qml

index 8328f4a5..a1fbfa41 100644 --- a/resources/qml/UserProfile.qml +++ b/resources/qml/UserProfile.qml
@@ -10,12 +10,19 @@ ApplicationWindow { property var profile + x: MainWindow.x + (MainWindow.width / 2) - (width / 2) + y: MainWindow.y + (MainWindow.height / 2) - (height / 2) height: 650 width: 420 minimumHeight: 420 palette: colors color: colors.window + Shortcut { + sequence: StandardKey.Cancel + onActivated: userProfileDialog.close() + } + ColumnLayout { id: contentL