diff options
Diffstat (limited to 'gui-example')
| -rw-r--r-- | gui-example/Makefile | 4 | ||||
| -rw-r--r-- | gui-example/main.go | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gui-example/Makefile b/gui-example/Makefile index b705093..5028ebd 100644 --- a/gui-example/Makefile +++ b/gui-example/Makefile @@ -1,5 +1,5 @@ run: build - ~/go/bin/gui-example + ./gui-example build: - GO111MODULE="off" go install + GO111MODULE="off" go build 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) } } } |
