mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-02 08:05:29 +08:00
update
This commit is contained in:
@ -13,13 +13,15 @@ Rectangle{
|
||||
return borerlessColor
|
||||
return Window.window.active ? borerlessColor : Qt.lighter(borerlessColor,1.1)
|
||||
}
|
||||
height: 50
|
||||
property bool isMacos: Qt.platform.os === "osx"
|
||||
height: isMacos ? 0 : 50
|
||||
width: {
|
||||
if(parent==null)
|
||||
return 200
|
||||
return parent.width
|
||||
}
|
||||
z: 65535
|
||||
clip: true
|
||||
property string title: "标题"
|
||||
property color textColor: FluTheme.isDark ? "#000000" : "#FFFFFF"
|
||||
property bool showDark: false
|
||||
|
@ -21,7 +21,12 @@ Item {
|
||||
property int minimumHeight
|
||||
property int maximumHeight
|
||||
|
||||
property bool isMacos: Qt.platform.os === "osx"
|
||||
|
||||
property int borderless:{
|
||||
if(isMacos){
|
||||
return 0
|
||||
}
|
||||
if(window === null)
|
||||
return 4
|
||||
if(Window.window.visibility === Window.Maximized){
|
||||
|
Reference in New Issue
Block a user