mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Apply styling to filter field
This commit is contained in:
parent
479056efef
commit
e450d10ddb
1 changed files with 13 additions and 0 deletions
|
@ -32,6 +32,19 @@ Item
|
||||||
|
|
||||||
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
|
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
|
||||||
|
|
||||||
|
style: TextFieldStyle
|
||||||
|
{
|
||||||
|
textColor: UM.Theme.getColor("setting_control_text");
|
||||||
|
font: UM.Theme.getFont("default");
|
||||||
|
background: Rectangle
|
||||||
|
{
|
||||||
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
|
border.color: control.hovered ? UM.Theme.getColor("setting_control_border_highlight") : UM.Theme.getColor("setting_control_border")
|
||||||
|
|
||||||
|
color: UM.Theme.getColor("setting_control")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
property var expandedCategories
|
property var expandedCategories
|
||||||
property bool lastFilterEmpty: true
|
property bool lastFilterEmpty: true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue