mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:17:35 +02:00
Removing close button on tool window, fixing dragging
This commit is contained in:
parent
b6272b7824
commit
e76e13c05c
2 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,7 @@ Windows.Window {
|
||||||
objectName: "ToolWindow"
|
objectName: "ToolWindow"
|
||||||
destroyOnCloseButton: false
|
destroyOnCloseButton: false
|
||||||
destroyOnInvisible: false
|
destroyOnInvisible: false
|
||||||
|
closable: false
|
||||||
visible: false
|
visible: false
|
||||||
property string newTabSource
|
property string newTabSource
|
||||||
property alias tabView: tabView
|
property alias tabView: tabView
|
||||||
|
|
|
@ -27,7 +27,8 @@ Frame {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: decoration
|
id: decoration
|
||||||
anchors { margins: -iconSize; topMargin: -iconSize * (window.closable ? 2 : 1); }
|
anchors { margins: -iconSize; topMargin: -iconSize * (window.closable ? 2 : 1); }
|
||||||
visible: window.activator.containsMouse
|
// FIXME doesn't work
|
||||||
|
// visible: window.activator.containsMouse
|
||||||
anchors.fill: parent;
|
anchors.fill: parent;
|
||||||
color: "#7f7f7f7f";
|
color: "#7f7f7f7f";
|
||||||
radius: 3;
|
radius: 3;
|
||||||
|
|
Loading…
Reference in a new issue