mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 21:45:51 +08:00
Fix white rectangles in dark mode and height of search-bar.
part of CURA-8559
This commit is contained in:
parent
07e9237d72
commit
307d751c2d
@ -85,6 +85,7 @@ Window
|
|||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
|
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
|
||||||
@ -93,7 +94,7 @@ Window
|
|||||||
Cura.SearchBar
|
Cura.SearchBar
|
||||||
{
|
{
|
||||||
id: searchBar
|
id: searchBar
|
||||||
Layout.preferredHeight: parent.height
|
Layout.preferredHeight: UM.Theme.getSize("button_icon").height
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
onTextEdited: searchStringChanged(text)
|
onTextEdited: searchStringChanged(text)
|
||||||
}
|
}
|
||||||
@ -105,6 +106,7 @@ Window
|
|||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: UM.Theme.getSize("button_icon").height
|
height: UM.Theme.getSize("button_icon").height
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
background: Rectangle { color: "transparent" }
|
||||||
|
|
||||||
PackageTypeTab
|
PackageTypeTab
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user