mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 01:19:05 +08:00
Reduce the size of the magnifier in the setting search
CURA-8202
This commit is contained in:
parent
33fce7df21
commit
0a2407e6ed
@ -65,7 +65,13 @@ Item
|
||||
anchors.right: clearFilterButton.left
|
||||
anchors.rightMargin: Math.round(UM.Theme.getSize("thick_margin").width)
|
||||
|
||||
placeholderText: "<img align='middle' src='"+ UM.Theme.getIcon("Magnifier") +"'>" + "<div vertical-align=bottom>" + catalog.i18nc("@label:textbox", "Search settings")
|
||||
placeholderText:
|
||||
{
|
||||
var imageSize = "width='" + UM.Theme.getSize("small_button_icon").width + "' height='" + UM.Theme.getSize("small_button_icon").height
|
||||
var imageSource = "' src='"+ UM.Theme.getIcon("Magnifier")
|
||||
var searchPlaceholder = catalog.i18nc("@label:textbox", "Search settings")
|
||||
return "<img align='middle' " + imageSize + imageSource +"'>" + "<div vertical-align=bottom>" + searchPlaceholder
|
||||
}
|
||||
|
||||
style: TextFieldStyle
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user