mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-06 02:15:23 +08:00
update
This commit is contained in:
@ -39,7 +39,7 @@ Window {
|
||||
property bool showMaximize: true
|
||||
property bool showStayTop: true
|
||||
property bool autoMaximize: false
|
||||
property bool useSystemAppBar: FluApp.useSystemAppBar
|
||||
property bool useSystemAppBar
|
||||
property color resizeBorderColor: {
|
||||
if(window.active){
|
||||
return _accentColor
|
||||
@ -70,9 +70,10 @@ Window {
|
||||
_realHeight = height
|
||||
_realWidth = width
|
||||
moveWindowToDesktopCenter()
|
||||
loader_frameless_helper.sourceComponent = Qt.binding(function(){
|
||||
return window.useSystemAppBar ? undefined : com_frameless
|
||||
})
|
||||
useSystemAppBar = FluApp.useSystemAppBar
|
||||
if(!useSystemAppBar){
|
||||
loader_frameless_helper.sourceComponent = com_frameless
|
||||
}
|
||||
lifecycle.onCompleted(window)
|
||||
initArgument(argument)
|
||||
if(window.autoMaximize){
|
||||
|
Reference in New Issue
Block a user