From e76e13c05c53178cc746a4c4dcbedefca92096bc Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Thu, 14 Jan 2016 14:20:31 -0800 Subject: [PATCH] Removing close button on tool window, fixing dragging --- interface/resources/qml/ToolWindow.qml | 1 + interface/resources/qml/windows/DefaultFrame.qml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/resources/qml/ToolWindow.qml b/interface/resources/qml/ToolWindow.qml index 3ce5b5616d..b2529ff522 100644 --- a/interface/resources/qml/ToolWindow.qml +++ b/interface/resources/qml/ToolWindow.qml @@ -13,6 +13,7 @@ Windows.Window { objectName: "ToolWindow" destroyOnCloseButton: false destroyOnInvisible: false + closable: false visible: false property string newTabSource property alias tabView: tabView diff --git a/interface/resources/qml/windows/DefaultFrame.qml b/interface/resources/qml/windows/DefaultFrame.qml index ed8999da04..c9d41a6935 100644 --- a/interface/resources/qml/windows/DefaultFrame.qml +++ b/interface/resources/qml/windows/DefaultFrame.qml @@ -27,7 +27,8 @@ Frame { Rectangle { id: decoration anchors { margins: -iconSize; topMargin: -iconSize * (window.closable ? 2 : 1); } - visible: window.activator.containsMouse + // FIXME doesn't work + // visible: window.activator.containsMouse anchors.fill: parent; color: "#7f7f7f7f"; radius: 3;