mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Filter bar is now always visible
CURA-3574
This commit is contained in:
parent
f04d1efb8d
commit
88704051d1
2 changed files with 5 additions and 58 deletions
|
@ -18,23 +18,10 @@ Item
|
|||
signal showTooltip(Item item, point location, string text);
|
||||
signal hideTooltip();
|
||||
|
||||
function toggleFilterField()
|
||||
{
|
||||
filterContainer.visible = !filterContainer.visible
|
||||
if(filterContainer.visible)
|
||||
{
|
||||
filter.forceActiveFocus();
|
||||
}
|
||||
else
|
||||
{
|
||||
filter.text = "";
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle
|
||||
{
|
||||
id: filterContainer
|
||||
visible: false
|
||||
visible: true
|
||||
|
||||
border.width: UM.Theme.getSize("default_lining").width
|
||||
border.color:
|
||||
|
@ -70,7 +57,7 @@ Item
|
|||
anchors.right: clearFilterButton.left
|
||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
|
||||
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
|
||||
placeholderText: catalog.i18nc("@label:textbox", "Search...")
|
||||
|
||||
style: TextFieldStyle
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue