MiddlePanel: remove color stripe for consistency

This commit is contained in:
selsta 2019-11-28 00:47:54 +01:00
parent d5f4d5d93f
commit c06cb5cc58
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -168,23 +168,6 @@ Rectangle {
} }
] ]
// color stripe at the top
Row {
id: styledRow
visible: currentView !== merchantView
height: 4
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
z: parent.z + 1
Rectangle { height: 4; width: parent.width / 5; color: "#FFE00A" }
Rectangle { height: 4; width: parent.width / 5; color: "#6B0072" }
Rectangle { height: 4; width: parent.width / 5; color: "#FF6C3C" }
Rectangle { height: 4; width: parent.width / 5; color: "#FFD781" }
Rectangle { height: 4; width: parent.width / 5; color: "#FF4F41" }
}
ColumnLayout { ColumnLayout {
anchors.fill: parent anchors.fill: parent
anchors.margins: { anchors.margins: {
@ -253,7 +236,7 @@ Rectangle {
Rectangle { Rectangle {
id: borderLeft id: borderLeft
visible: middlePanel.state !== "Merchant" visible: middlePanel.state !== "Merchant"
anchors.top: styledRow.bottom anchors.top: parent.top
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.left: parent.left anchors.left: parent.left
width: 1 width: 1