mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 05:05:53 +08:00
Simplify anchors of background rectangle
Contributes to issue CURA-8686.
This commit is contained in:
parent
7bc109d1f0
commit
92ed791f53
@ -26,17 +26,8 @@ Flickable
|
|||||||
|
|
||||||
background: Rectangle //Providing the background color and border.
|
background: Rectangle //Providing the background color and border.
|
||||||
{
|
{
|
||||||
anchors
|
anchors.fill: parent
|
||||||
{
|
anchors.margins: -border.width
|
||||||
top: parent.top
|
|
||||||
topMargin: -border.width
|
|
||||||
bottom: parent.bottom
|
|
||||||
bottomMargin: -border.width
|
|
||||||
left: parent.left
|
|
||||||
leftMargin: -border.width
|
|
||||||
right: parent.right
|
|
||||||
rightMargin: -border.width
|
|
||||||
}
|
|
||||||
|
|
||||||
color: scrollableTextAreaBase.back_color
|
color: scrollableTextAreaBase.back_color
|
||||||
border.color: UM.Theme.getColor("thick_lining")
|
border.color: UM.Theme.getColor("thick_lining")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user