mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07: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.
|
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…
Add table
Add a link
Reference in a new issue