mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
Sample titlebars
This commit is contained in:
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
wails "github.com/wailsapp/wails/v2"
|
||||
"github.com/wailsapp/wails/v2/pkg/options"
|
||||
"github.com/wailsapp/wails/v2/pkg/options/mac"
|
||||
)
|
||||
|
||||
type Echo struct {
|
||||
@@ -22,6 +23,11 @@ func main() {
|
||||
DisableResize: false,
|
||||
Fullscreen: false,
|
||||
Colour: 0xFF000088,
|
||||
Mac: &mac.Options{
|
||||
// TitleBar: mac.TitleBarHidden(),
|
||||
// TitleBar: mac.TitleBarHiddenInset(),
|
||||
TitleBar: mac.TitleBarDefault(),
|
||||
},
|
||||
})
|
||||
|
||||
// You can also use the simplified call:
|
||||
|
||||
Reference in New Issue
Block a user