File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 id: control
1313 z: D .DTK .TopOrder
1414 width: Window .window .width
15- // it's binding `height` instead of `visible` property,
16- // because MouseArea should accept event keeping visible.
17- implicitHeight: (! __isFullScreen || __isVisible) ? DS .Style .titleBar .height : 1
15+ height: (! __isFullScreen || __isVisible) ? DS .Style .titleBar .height : 1
1816
1917 property string title: Window .window .title
2018 property alias icon: iconLabel
@@ -75,15 +73,16 @@ Item {
7573 Loader {
7674 id: background
7775 active: false
78- anchors .fill : parent
76+ width: control .width
77+ height: control .height
7978 sourceComponent: D .InWindowBlur {
8079 }
8180 }
8281
8382 ColumnLayout {
84- id: content
8583 spacing: 0
86- anchors .fill : parent
84+ width: control .width
85+ height: control .height
8786 visible: control .height > 1
8887
8988 Loader {
You can’t perform that action at this time.
0 commit comments