mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 05:29:01 +08:00
Don't nest all content in background rect
This way we don't have an extra identation depth, makes it a bit easier to read CURA-8726
This commit is contained in:
parent
a05650f64c
commit
ac6375d17b
@ -46,7 +46,7 @@ Window
|
|||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: UM.Theme.getColor("main_background")
|
color: UM.Theme.getColor("main_background")
|
||||||
|
}
|
||||||
//The Marketplace can have a page in front of everything with package details. The stack view controls its visibility.
|
//The Marketplace can have a page in front of everything with package details. The stack view controls its visibility.
|
||||||
StackView
|
StackView
|
||||||
{
|
{
|
||||||
@ -64,8 +64,8 @@ Window
|
|||||||
// Page title.
|
// Page title.
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
Layout.preferredWidth: parent.width
|
implicitWidth: parent.width
|
||||||
Layout.preferredHeight: childrenRect.height + UM.Theme.getSize("default_margin").height
|
implicitHeight: childrenRect.height + UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
@ -241,7 +241,6 @@ Window
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user