mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +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"
|
||||
destroyOnCloseButton: false
|
||||
destroyOnInvisible: false
|
||||
closable: false
|
||||
visible: false
|
||||
property string newTabSource
|
||||
property alias tabView: tabView
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue