Min/Max size supported

This commit is contained in:
Lea Anthony
2020-09-24 21:43:37 +10:00
parent ea7b593693
commit 69c4e6ea28
2 changed files with 24 additions and 25 deletions

View File

@@ -10,12 +10,12 @@ func main() {
// Create application with options
app := wails.CreateAppWithOptions(&options.App{
Title: "minmax",
Width: 1024,
Height: 768,
MinWidth: 800,
MinHeight: 600,
MaxWidth: 1280,
MaxHeight: 1024,
Width: 800,
Height: 600,
MinWidth: 400,
MinHeight: 300,
MaxWidth: 1024,
MaxHeight: 768,
})
app.Bind(newBasic())