From b2ac2794bbee350539e20d95f1e3adf626e8feb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Iskierko?= <61889657+endulab@users.noreply.github.com> Date: Mon, 28 Mar 2022 19:14:15 +0200 Subject: [PATCH] fix(StatusSearchPopup): Fix cutting text with big font (#604) Decreasing padding. Setting loading property default to false. Fix #5197 --- src/StatusQ/Popups/StatusSearchPopup.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/StatusQ/Popups/StatusSearchPopup.qml b/src/StatusQ/Popups/StatusSearchPopup.qml index f8403ccb..3fe2f504 100644 --- a/src/StatusQ/Popups/StatusSearchPopup.qml +++ b/src/StatusQ/Popups/StatusSearchPopup.qml @@ -20,7 +20,7 @@ StatusModal { property string searchText: contentItem.searchText property string noResultsLabel: "No results" property string defaultSearchLocationText: "Anywhere" - property bool loading + property bool loading: false property Menu searchOptionsPopupMenu: Menu { } property var searchResults: [ ] property var searchSelectionButton @@ -95,6 +95,8 @@ StatusModal { anchors.verticalCenter: parent.verticalCenter focus: true font.pixelSize: 28 + topPadding: 5 //smaller padding to handle bigger font + bottomPadding: 5 clearable: true showBackground: false font.family: Theme.palette.baseFont.name