mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-06 18:55:58 +08:00
update
This commit is contained in:
@ -64,7 +64,6 @@ Window {
|
||||
property int _realHeight
|
||||
property int _realWidth
|
||||
property int _appBarHeight: appBar.height
|
||||
property bool _enableMarginsBottomLeftRight: false
|
||||
id:window
|
||||
color:"transparent"
|
||||
Component.onCompleted: {
|
||||
@ -210,9 +209,7 @@ Window {
|
||||
anchors{
|
||||
fill:parent
|
||||
topMargin: _offsetXY.y
|
||||
bottomMargin: _enableMarginsBottomLeftRight ? _offsetXY.y : 0
|
||||
leftMargin: _enableMarginsBottomLeftRight ? _offsetXY.x : 0
|
||||
rightMargin: _enableMarginsBottomLeftRight ? _offsetXY.x : 0
|
||||
bottomMargin: _offsetXY.y
|
||||
}
|
||||
onWidthChanged: {
|
||||
window.appBar.width = width
|
||||
|
Reference in New Issue
Block a user