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 Khushboo Mehta
parent 99659b2589
commit b0c00fd60d
1 changed files with 3 additions and 1 deletions

View File

@ -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