mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 13:19:00 -07: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 3f7ba8b26435392116df3c9fe66ef11536e30c59. 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
|
|
}
|