mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Simplify anchors of background rectangle
Contributes to issue CURA-8686.
This commit is contained in:
parent
7bc109d1f0
commit
92ed791f53
1 changed files with 2 additions and 11 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue