diff options
| author | Jeff Carr <[email protected]> | 2021-10-06 11:17:43 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-06 11:17:43 -0500 |
| commit | 883159b940e711fbd3560edff8fcc3a2c2f68612 (patch) | |
| tree | a6405d455cbde7a72fdb7bcee56ab225f308d971 /gui-example/main.go | |
| parent | b40030a6b11a74a0ba1cb34d1eb12d49a3d3ed44 (diff) | |
EXAMPLE: further improvements to the example
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui-example/main.go')
| -rw-r--r-- | gui-example/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui-example/main.go b/gui-example/main.go index f3e4c48..1ff286d 100644 --- a/gui-example/main.go +++ b/gui-example/main.go @@ -16,8 +16,8 @@ func customExit(gw *gui.GuiWindow) { func main() { log.Println("starting my Control Panel") - gui.Config.Width = 1000 - gui.Config.Height = 400 + gui.Config.Width = 800 + gui.Config.Height = 300 gui.Config.Exit = customExit go gui.Main(initGUI) @@ -37,7 +37,7 @@ func watchGUI() { time.Sleep(time.Second) if i == 3 { log.Println("Sending ExampleWindow to gui.Queue()") - gui.Queue(gui.ExampleWindow) + gui.Queue(gui.DebugWindow) } } } |
