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
width:parent.width
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")
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
UM.ColorImage