mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 18:05:56 +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.
|
||||
{
|
||||
anchors
|
||||
{
|
||||
top: parent.top
|
||||
topMargin: -border.width
|
||||
bottom: parent.bottom
|
||||
bottomMargin: -border.width
|
||||
left: parent.left
|
||||
leftMargin: -border.width
|
||||
right: parent.right
|
||||
rightMargin: -border.width
|
||||
}
|
||||
anchors.fill: parent
|
||||
anchors.margins: -border.width
|
||||
|
||||
color: scrollableTextAreaBase.back_color
|
||||
border.color: UM.Theme.getColor("thick_lining")
|
||||
|
Loading…
x
Reference in New Issue
Block a user