mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Add disable zoom on mac (#3289)
* Add disable zoom on mac * Add changelog line * Add zommable in main.m I see this file is ignore, but i think it's better to keep it up-to-date so if we ever unignore it will work correctly.
This commit is contained in:
@@ -109,6 +109,7 @@ func main() {
|
||||
Appearance: mac.NSAppearanceNameDarkAqua,
|
||||
WebviewIsTransparent: true,
|
||||
WindowIsTranslucent: false,
|
||||
DisableZoom: false,
|
||||
About: &mac.AboutInfo{
|
||||
Title: "My Application",
|
||||
Message: "© 2021 Me",
|
||||
@@ -897,6 +898,13 @@ Mac: &mac.Options{
|
||||
}
|
||||
```
|
||||
|
||||
#### DisableZoom
|
||||
|
||||
By default, the window is zoomable. Setting this to `true` will disable the zoom button (green button).
|
||||
|
||||
Name: DisableZoom<br/>
|
||||
Type: `bool`
|
||||
|
||||
#### About
|
||||
|
||||
This configuration lets you set the title, message and icon for the "About" menu item in the app menu created by the "AppMenu" role.
|
||||
|
||||
Reference in New Issue
Block a user