We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When called after SetResizable, SetMaxSize completely undoes the effect of SetResizable on Linux.
SetResizable
SetMaxSize
Test case:
package main import ( "tractor.dev/toolkit-go/desktop" "tractor.dev/toolkit-go/desktop/app" "tractor.dev/toolkit-go/desktop/window" ) func main() { desktop.Start(func() { app.Run(app.Options{}, func() { w := window.New(window.Options{ URL: "https://google.com", Title: "Hello", Size: desktop.Size{ Width: 800, Height: 800, }, Visible: true, Resizable: true, Center: true, Transparent: true, }) w.Reload() w.SetTitle("Test") w.SetMinSize(desktop.Size{ Width: 400, Height: 400, }) w.SetResizable(false) w.SetMaxSize(desktop.Size{ Width: 1000, Height: 1000, }) // ---> Still resizable here }) }) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When called after
SetResizable
,SetMaxSize
completely undoes the effect ofSetResizable
on Linux.Test case:
The text was updated successfully, but these errors were encountered: