made app start maximised
This commit is contained in:
parent
1b08918d8e
commit
d644758253
2
app.go
2
app.go
@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/wailsapp/wails/v2/pkg/runtime"
|
||||
)
|
||||
|
||||
// App struct
|
||||
@ -18,4 +19,5 @@ func NewApp() *App {
|
||||
// so we can call the runtime methods
|
||||
func (a *App) startup(ctx context.Context) {
|
||||
a.ctx = ctx
|
||||
runtime.WindowMaximise(ctx)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user