0.0.11 Updated pallette. /JL

This commit is contained in:
2022-12-11 16:54:53 +01:00
parent 46377de071
commit 05fbb17ff6
+5 -1
View File
@@ -24,7 +24,7 @@ type MyMainWindow struct {
const ( const (
AppName string = "BeadImager" AppName string = "BeadImager"
Version string = "0.0.10" Version string = "0.0.11"
CopyRight string = "©2022 Jan Lerking" CopyRight string = "©2022 Jan Lerking"
STD_MESS string = "Ready" STD_MESS string = "Ready"
UserPath string = "C:\\Users\\janle\\BeadImager" UserPath string = "C:\\Users\\janle\\BeadImager"
@@ -59,6 +59,7 @@ func main() {
Text: "Pallette:", Text: "Pallette:",
}, },
ComboBox{ ComboBox{
Alignment: AlignHFarVCenter,
AssignTo: &mw.pallette_combo, AssignTo: &mw.pallette_combo,
Model: mw.brand_model, Model: mw.brand_model,
OnCurrentIndexChanged: func() { OnCurrentIndexChanged: func() {
@@ -80,6 +81,7 @@ func main() {
Text: "Serie:", Text: "Serie:",
}, },
ComboBox{ ComboBox{
Alignment: AlignHFarVCenter,
AssignTo: &mw.serie_combo, AssignTo: &mw.serie_combo,
Enabled: false, Enabled: false,
OnCurrentIndexChanged: func() { OnCurrentIndexChanged: func() {
@@ -103,6 +105,7 @@ func main() {
Text: "Pegboard:", Text: "Pegboard:",
}, },
ComboBox{ ComboBox{
Alignment: AlignHFarVCenter,
AssignTo: &mw.pegboard_combo, AssignTo: &mw.pegboard_combo,
Enabled: false, Enabled: false,
OnCurrentIndexChanged: func() { OnCurrentIndexChanged: func() {
@@ -129,6 +132,7 @@ func main() {
Children: []Widget{ Children: []Widget{
Composite{ Composite{
Layout: VBox{MarginsZero: true}, Layout: VBox{MarginsZero: true},
MaxSize: Size{200, 0},
Children: []Widget{ Children: []Widget{
DD_Pallette, DD_Pallette,
PushButton{ PushButton{