mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 18:10:48 +08:00

* add support for minimum and maximum window sizes
* attempt to fix windows
* bug fixes
* support min/max window sizes on Linux and Windows
* fix min/max window sizes on Linux
* formatting and comments
* fixes Windows DPI issue, clamps width/height values to min/max
* App can't go into full screen when max size is set for Mac
* fixed Linux maximum width/height on window maximize
* Revert "fixed Linux maximum width/height on window maximize"
This reverts commit 3f7ba8b264
.
The fix glitches on PopOS
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
19 lines
348 B
Go
19 lines
348 B
Go
package interfaces
|
|
|
|
// AppConfig is the application config interface
|
|
type AppConfig interface {
|
|
GetWidth() int
|
|
GetHeight() int
|
|
GetTitle() string
|
|
GetMinWidth() int
|
|
GetMinHeight() int
|
|
GetMaxWidth() int
|
|
GetMaxHeight() int
|
|
GetResizable() bool
|
|
GetHTML() string
|
|
GetDisableInspector() bool
|
|
GetColour() string
|
|
GetCSS() string
|
|
GetJS() string
|
|
}
|