Fix the font for searchbars being styled correctly

By setting the font.italic to true, we actually reset the entire font.

Fixes #12565
This commit is contained in:
Jaime van Kessel 2022-06-21 10:58:53 +02:00
parent 8970f46154
commit 52ea80f6c9
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ Item
topPadding: height / 4
leftPadding: searchIcon.width + UM.Theme.getSize("default_margin").width * 2
placeholderText: catalog.i18nc("@label:textbox", "Search settings")
font.italic: true
font: UM.Theme.getFont("default_italic")
property var expandedCategories
property bool lastFindingSettings: false