mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Fix BackgroundColour documentation. Update changelog. Move contributors into website. Create changelog link.
This commit is contained in:
@@ -58,7 +58,7 @@ func main() {
|
||||
Width: 1024,
|
||||
Height: 768,
|
||||
Assets: assets,
|
||||
BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
|
||||
BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 255},
|
||||
OnStartup: app.startup,
|
||||
AssetsHandler: NewFileLoader(),
|
||||
Bind: []interface{}{
|
||||
|
||||
@@ -204,11 +204,11 @@ hide the window instead.
|
||||
|
||||
Name: BackgroundColour
|
||||
|
||||
Type: int (0xRRGGBBAA)
|
||||
Example: 0xFF000088 - Red at 50% transparency
|
||||
Type: *options.RGBA
|
||||
Example: options.NewRGBA(255,0,0,128) - Red at 50% transparency
|
||||
|
||||
This value is the default background colour of the window.
|
||||
Default: 0xFFFFFFFF.
|
||||
Default: white
|
||||
|
||||
### AlwaysOnTop
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ func main() {
|
||||
Width: 1024,
|
||||
Height: 768,
|
||||
Assets: assets,
|
||||
BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
|
||||
BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 255},
|
||||
OnStartup: app.startup,
|
||||
AssetsHandler: NewFileLoader(),
|
||||
Bind: []interface{}{
|
||||
|
||||
@@ -202,11 +202,11 @@ hide the window instead.
|
||||
|
||||
Name: BackgroundColour
|
||||
|
||||
Type: int (0xRRGGBBAA)
|
||||
Example: 0xFF000088 - Red at 50% transparency
|
||||
Type: *options.RGBA
|
||||
Example: options.NewRGBA(255,0,0,128) - Red at 50% transparency
|
||||
|
||||
This value is the default background colour of the window.
|
||||
Default: 0xFFFFFFFF.
|
||||
Default: white
|
||||
|
||||
### AlwaysOnTop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user