mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 11:47:50 -06:00
Update search bar style and theme alteration
CURA-11003
This commit is contained in:
parent
8f09d35955
commit
3908db7696
2 changed files with 16 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue