mirror of
https://github.com/taigrr/wails.git
synced 2026-04-15 11:21:15 -07:00
Min/Max size supported
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user