mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
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:
parent
8970f46154
commit
52ea80f6c9
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ Cura.TextField
|
||||||
leftPadding: searchIcon.width + UM.Theme.getSize("default_margin").width * 2
|
leftPadding: searchIcon.width + UM.Theme.getSize("default_margin").width * 2
|
||||||
|
|
||||||
placeholderText: catalog.i18nc("@placeholder", "Search")
|
placeholderText: catalog.i18nc("@placeholder", "Search")
|
||||||
font.italic: true
|
font: UM.Theme.getFont("default_italic")
|
||||||
|
|
||||||
UM.ColorImage
|
UM.ColorImage
|
||||||
{
|
{
|
||||||
|
|
|
@ -46,7 +46,7 @@ Item
|
||||||
topPadding: height / 4
|
topPadding: height / 4
|
||||||
leftPadding: searchIcon.width + UM.Theme.getSize("default_margin").width * 2
|
leftPadding: searchIcon.width + UM.Theme.getSize("default_margin").width * 2
|
||||||
placeholderText: catalog.i18nc("@label:textbox", "Search settings")
|
placeholderText: catalog.i18nc("@label:textbox", "Search settings")
|
||||||
font.italic: true
|
font: UM.Theme.getFont("default_italic")
|
||||||
|
|
||||||
property var expandedCategories
|
property var expandedCategories
|
||||||
property bool lastFindingSettings: false
|
property bool lastFindingSettings: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue