diff options
author | Jedi18 <targetakhil@gmail.com> | 2021-02-24 19:32:13 +0530 |
---|---|---|
committer | Jedi18 <targetakhil@gmail.com> | 2021-02-24 19:32:13 +0530 |
commit | 0ce7f78446df0baf1a8872e05bd68742a26edb8c (patch) | |
tree | f1a6f986b0a6a9b316c4aa0cd9b7dc4cc6684629 /resources/qml/QuickSwitcher.qml | |
parent | fix row content centering (diff) | |
download | nheko-0ce7f78446df0baf1a8872e05bd68742a26edb8c.tar.xz |
added margins and ui changes for quickswitcher and completer
Diffstat (limited to 'resources/qml/QuickSwitcher.qml')
-rw-r--r-- | resources/qml/QuickSwitcher.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/resources/qml/QuickSwitcher.qml b/resources/qml/QuickSwitcher.qml index eceffbde..51924c5f 100644 --- a/resources/qml/QuickSwitcher.qml +++ b/resources/qml/QuickSwitcher.qml @@ -6,6 +6,7 @@ Popup { id: quickSwitcher property int textWidth: 48 + property int textMargin: 8 x: parent.width / 2 - width / 2 y: parent.height / 4 - height / 2 @@ -23,7 +24,8 @@ Popup { id: roomTextInput anchors.fill: parent - font.pixelSize: quickSwitcher.textWidth - 24 + font.pixelSize: quickSwitcher.textWidth - 18 + padding: textMargin color: colors.text onTextEdited: { @@ -56,6 +58,8 @@ Popup { avatarHeight: textWidth avatarWidth: textWidth centerRowContent: false + rowMargin: 8 + rowSpacing: 6 closePolicy: Popup.NoAutoClose } |