This commit is contained in:
zhuzichu
2023-06-29 17:48:48 +08:00
parent 8a52f143d7
commit 9656b3dd95
10 changed files with 219 additions and 267 deletions

View File

@ -63,9 +63,10 @@ FluContentPage{
age:getRandomAge(),
address: getRandomAddresses(),
nickname: getRandomNickname(),
height:40,
minimumHeight:40,
maximumHeight:200,
longstring:"测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试",
height:46,
minimumHeight:46,
maximumHeight:300,
action:com_action
})
}
@ -136,6 +137,13 @@ FluContentPage{
minimumWidth:80,
maximumWidth:200
},
{
title: '长字符串',
dataIndex: 'longstring',
width:200,
minimumWidth:100,
maximumWidth:300
},
{
title: '操作',
dataIndex: 'action',

View File

@ -271,7 +271,9 @@ CustomWindow {
FluTheme.darkMode = FluDarkMode.Dark
}
}
if(FluTools.isWin()){
if(FluTools.isMacos()){
changeDark()
}else{
var target = window.contentItem
var pos = button.mapToItem(target,0,0)
var mouseX = pos.x
@ -288,8 +290,6 @@ CustomWindow {
anim_radius.enabled = true
canvas.radius = canvas.maxRadius
},canvas.canvasSize)
}else{
changeDark()
}
}