mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 07:15:58 +08:00
Update search bar style and theme alteration
CURA-11003
This commit is contained in:
parent
8f09d35955
commit
3908db7696
@ -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
|
||||
|
@ -110,6 +110,12 @@
|
||||
"italic": true,
|
||||
"family": "Noto Sans"
|
||||
},
|
||||
"medium_italic": {
|
||||
"size": 1.16,
|
||||
"weight": 400,
|
||||
"italic": true,
|
||||
"family": "Noto Sans"
|
||||
},
|
||||
"default_italic_ja_JP": {
|
||||
"size": 1.0,
|
||||
"weight": 400,
|
||||
|
Loading…
x
Reference in New Issue
Block a user