mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 21:46:03 +08:00
Change rectangle into item
It had no color, so it doesn't need to be a rectangle Cura-8587
This commit is contained in:
parent
fbc9a25a8f
commit
de0dc568cd
@ -106,9 +106,8 @@ Window
|
|||||||
height: UM.Theme.getSize("button_icon").height + UM.Theme.getSize("default_margin").height
|
height: UM.Theme.getSize("button_icon").height + UM.Theme.getSize("default_margin").height
|
||||||
spacing: UM.Theme.getSize("thin_margin").width
|
spacing: UM.Theme.getSize("thin_margin").width
|
||||||
|
|
||||||
Rectangle
|
Item
|
||||||
{
|
{
|
||||||
color: "transparent"
|
|
||||||
Layout.preferredHeight: parent.height
|
Layout.preferredHeight: parent.height
|
||||||
Layout.preferredWidth: searchBar.visible ? UM.Theme.getSize("thin_margin").width : 0
|
Layout.preferredWidth: searchBar.visible ? UM.Theme.getSize("thin_margin").width : 0
|
||||||
Layout.fillWidth: ! searchBar.visible
|
Layout.fillWidth: ! searchBar.visible
|
||||||
|
Loading…
x
Reference in New Issue
Block a user