0.4.1 Menu added. /JL

This commit is contained in:
2022-12-28 13:03:32 +01:00
parent bee399973b
commit 026daae1a0
2 changed files with 28 additions and 1 deletions
+2 -1
View File
@@ -32,7 +32,7 @@ type MyMainWindow struct {
const (
AppName string = "BeadImager"
Version string = "0.4.0"
Version string = "0.4.1"
CopyRight string = "©2022 Jan Lerking"
STD_MESS string = "Ready"
LogFile string = "BeadImager.log"
@@ -55,6 +55,7 @@ func SetupMainWindow(mw *MyMainWindow) {
mw.MainWindow, _ = walk.NewMainWindow()
mw.MainWindow.SetTitle(AppName + " " + Version)
mw.MainWindow.SetMinMaxSize(walk.Size{Width: 800, Height: 600}, walk.Size{Width: math.MaxInt32, Height: math.MaxInt32})
SetupMenu(mw)
//mw.MainWindow.SetSize(walk.Size{Width: 800, Height: 600})
vb := walk.NewVBoxLayout()
mw.MainWindow.SetLayout(vb)