diff options
author | fieldOfView <aldo@fieldofview.com> | 2017-06-22 17:52:11 +0300 |
---|---|---|
committer | fieldOfView <aldo@fieldofview.com> | 2017-07-03 17:04:18 +0300 |
commit | 5fec3d4f6da8d52706742eb2cc93d19e0b66fd27 (patch) | |
tree | 6330d53b3cafdfa208039ba5325fa68a6475575f /resources/qml/Toolbar.qml | |
parent | 8a55469499117bc9a64ed047b70cc14801419cb6 (diff) |
Replace mock borders with true borders
Diffstat (limited to 'resources/qml/Toolbar.qml')
-rw-r--r-- | resources/qml/Toolbar.qml | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/resources/qml/Toolbar.qml b/resources/qml/Toolbar.qml index 5100a0dacb..1044bfbfcf 100644 --- a/resources/qml/Toolbar.qml +++ b/resources/qml/Toolbar.qml @@ -106,22 +106,13 @@ Item opacity: panel.item && panel.width > 0 ? 1 : 0 Behavior on opacity { NumberAnimation { duration: 100 } } - color: UM.Theme.getColor("lining"); + color: UM.Theme.getColor("tool_panel_background") + borderColor: UM.Theme.getColor("lining") + borderWidth: UM.Theme.getSize("default_lining").width - UM.PointingRectangle + MouseArea //Catch all mouse events (so scene doesnt handle them) { - id: panelBackground; - - color: UM.Theme.getColor("tool_panel_background"); anchors.fill: parent - anchors.margins: UM.Theme.getSize("default_lining").width - - target: Qt.point(-UM.Theme.getSize("default_margin").width, UM.Theme.getSize("button").height/2) - arrowSize: parent.arrowSize - MouseArea //Catch all mouse events (so scene doesnt handle them) - { - anchors.fill: parent - } } Loader |