Update search bar style and theme alteration

CURA-11003
This commit is contained in:
Saumya Jain 2024-04-10 15:45:24 +02:00
parent 8f09d35955
commit 3908db7696
2 changed files with 16 additions and 1 deletions

View file

@ -89,8 +89,17 @@ Item
id: filter id: filter
width:parent.width width:parent.width
implicitHeight: parent.height implicitHeight: parent.height
background: Rectangle {
id: background
color: UM.Theme.getColor("main_background")
radius: 2
border.width: 1
border.color: UM.Theme.getColor("primary_button")
}
height: UM.Theme.getSize("small_button_icon").height*2
placeholderText: catalog.i18nc("@label:textbox", "Search Printer") placeholderText: catalog.i18nc("@label:textbox", "Search Printer")
font: UM.Theme.getFont("default_italic") placeholderTextColor: UM.Theme.getColor("primary_button")
font: UM.Theme.getFont("medium_italic")
leftPadding: searchIcon.width + UM.Theme.getSize("default_margin").width * 2 leftPadding: searchIcon.width + UM.Theme.getSize("default_margin").width * 2
UM.ColorImage UM.ColorImage

View file

@ -110,6 +110,12 @@
"italic": true, "italic": true,
"family": "Noto Sans" "family": "Noto Sans"
}, },
"medium_italic": {
"size": 1.16,
"weight": 400,
"italic": true,
"family": "Noto Sans"
},
"default_italic_ja_JP": { "default_italic_ja_JP": {
"size": 1.0, "size": 1.0,
"weight": 400, "weight": 400,