Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2022-06-21 11:58:53 +0300
committerJaime van Kessel <nallath@gmail.com>2022-06-21 11:58:53 +0300
commit52ea80f6c9d491b0c221d4f74872a4b48a6b7f97 (patch)
tree47d76bed88d9c3dc0f24c07e78dffe051abf5f7b /resources/qml
parent8970f461540d4ae774b3f8f421af7a8a17d36de1 (diff)
Fix the font for searchbars being styled correctly
By setting the font.italic to true, we actually reset the entire font. Fixes #12565
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/SearchBar.qml2
-rw-r--r--resources/qml/Settings/SettingView.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/SearchBar.qml b/resources/qml/SearchBar.qml
index af5ad7cc35..3dc7a8d086 100644
--- a/resources/qml/SearchBar.qml
+++ b/resources/qml/SearchBar.qml
@@ -15,7 +15,7 @@ Cura.TextField
leftPadding: searchIcon.width + UM.Theme.getSize("default_margin").width * 2
placeholderText: catalog.i18nc("@placeholder", "Search")
- font.italic: true
+ font: UM.Theme.getFont("default_italic")
UM.ColorImage
{
diff --git a/resources/qml/Settings/SettingView.qml b/resources/qml/Settings/SettingView.qml
index 3ac6acbc33..934e19030d 100644
--- a/resources/qml/Settings/SettingView.qml
+++ b/resources/qml/Settings/SettingView.qml
@@ -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