qtquick|MDI: Improvements for the resize handler

More margin, fixed sizes of some handlers and fixed z order
This commit is contained in:
Sergio Martins
2021-03-03 13:47:14 +00:00
parent 54f17cb546
commit 017f06dcfb
2 changed files with 16 additions and 5 deletions

View File

@@ -22,9 +22,8 @@ MouseArea {
required property QtObject frameCpp
hoverEnabled: true
width: resizeMargin
cursorShape: enabled ? shape : Qt.ArrowCursor // Even if disabled the MouseArea changes cursor, as it's different than Item.enabled, so explicitly change cursor if disabled
z: mouseArea.z + 1
enabled: resizeAllowed
onFrameCppChanged: {