From 0ce7f78446df0baf1a8872e05bd68742a26edb8c Mon Sep 17 00:00:00 2001 From: Jedi18 Date: Wed, 24 Feb 2021 19:32:13 +0530 Subject: added margins and ui changes for quickswitcher and completer --- resources/qml/QuickSwitcher.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'resources/qml/QuickSwitcher.qml') 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 } -- cgit 1.5.1