mirror of
https://gitee.com/energye/energy.git
synced 2024-12-02 19:57:48 +08:00
U: 增加 无边框四角圆角
This commit is contained in:
parent
969497324a
commit
716f4ac75f
@ -82,6 +82,10 @@ func main() {
|
||||
|
||||
cef.BrowserWindow.SetBrowserInit(func(event *cef.BrowserEvent, window cef.IBrowserWindow) {
|
||||
//window.AsLCLBrowserWindow().FramelessForLine()
|
||||
if window.IsLCL() {
|
||||
// 边框圆角, 仅LCL
|
||||
window.AsLCLBrowserWindow().SetRoundRectRgn(10)
|
||||
}
|
||||
})
|
||||
//在主进程启动成功之后执行
|
||||
//在这里启动内置http服务
|
||||
|
Loading…
Reference in New Issue
Block a user