mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
feat(main): 调整窗口最大宽度和高度并启用默认上下文菜单
- 将窗口最大宽度从 1280调整为 1920 - 启用默认上下文菜单
This commit is contained in:
parent
71289d1408
commit
f5aa70bf61
3
main.go
3
main.go
@ -90,13 +90,14 @@ func main() {
|
|||||||
Height: 920,
|
Height: 920,
|
||||||
MinWidth: 1024,
|
MinWidth: 1024,
|
||||||
MinHeight: 768,
|
MinHeight: 768,
|
||||||
MaxWidth: 1280,
|
MaxWidth: 1920,
|
||||||
MaxHeight: 960,
|
MaxHeight: 960,
|
||||||
DisableResize: false,
|
DisableResize: false,
|
||||||
Fullscreen: false,
|
Fullscreen: false,
|
||||||
Frameless: true,
|
Frameless: true,
|
||||||
StartHidden: false,
|
StartHidden: false,
|
||||||
HideWindowOnClose: false,
|
HideWindowOnClose: false,
|
||||||
|
EnableDefaultContextMenu: true,
|
||||||
BackgroundColour: &options.RGBA{R: 255, G: 255, B: 255, A: 255},
|
BackgroundColour: &options.RGBA{R: 255, G: 255, B: 255, A: 255},
|
||||||
Assets: assets,
|
Assets: assets,
|
||||||
Menu: AppMenu,
|
Menu: AppMenu,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user