mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 11:21:14 -07: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
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue