fix(StatusSearchPopup): Fix cutting text with big font (#604)

Decreasing padding.
Setting loading property default to false.

Fix #5197
This commit is contained in:
Michał Iskierko 2022-03-28 19:14:15 +02:00 committed by GitHub
parent b565a32c7e
commit b2ac2794bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,7 @@ StatusModal {
property string searchText: contentItem.searchText property string searchText: contentItem.searchText
property string noResultsLabel: "No results" property string noResultsLabel: "No results"
property string defaultSearchLocationText: "Anywhere" property string defaultSearchLocationText: "Anywhere"
property bool loading property bool loading: false
property Menu searchOptionsPopupMenu: Menu { } property Menu searchOptionsPopupMenu: Menu { }
property var searchResults: [ ] property var searchResults: [ ]
property var searchSelectionButton property var searchSelectionButton
@ -95,6 +95,8 @@ StatusModal {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
focus: true focus: true
font.pixelSize: 28 font.pixelSize: 28
topPadding: 5 //smaller padding to handle bigger font
bottomPadding: 5
clearable: true clearable: true
showBackground: false showBackground: false
font.family: Theme.palette.baseFont.name font.family: Theme.palette.baseFont.name