0.0.11 Updated pallette. /JL
This commit is contained in:
@@ -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,8 +59,9 @@ func main() {
|
|||||||
Text: "Pallette:",
|
Text: "Pallette:",
|
||||||
},
|
},
|
||||||
ComboBox{
|
ComboBox{
|
||||||
AssignTo: &mw.pallette_combo,
|
Alignment: AlignHFarVCenter,
|
||||||
Model: mw.brand_model,
|
AssignTo: &mw.pallette_combo,
|
||||||
|
Model: mw.brand_model,
|
||||||
OnCurrentIndexChanged: func() {
|
OnCurrentIndexChanged: func() {
|
||||||
if !pallette_trigged {
|
if !pallette_trigged {
|
||||||
log.Println("Pallette changed to: ", mw.pallette_combo.Text())
|
log.Println("Pallette changed to: ", mw.pallette_combo.Text())
|
||||||
@@ -80,8 +81,9 @@ func main() {
|
|||||||
Text: "Serie:",
|
Text: "Serie:",
|
||||||
},
|
},
|
||||||
ComboBox{
|
ComboBox{
|
||||||
AssignTo: &mw.serie_combo,
|
Alignment: AlignHFarVCenter,
|
||||||
Enabled: false,
|
AssignTo: &mw.serie_combo,
|
||||||
|
Enabled: false,
|
||||||
OnCurrentIndexChanged: func() {
|
OnCurrentIndexChanged: func() {
|
||||||
if !serie_trigged {
|
if !serie_trigged {
|
||||||
log.Println("Serie changed to: ", mw.serie_combo.Text())
|
log.Println("Serie changed to: ", mw.serie_combo.Text())
|
||||||
@@ -103,8 +105,9 @@ func main() {
|
|||||||
Text: "Pegboard:",
|
Text: "Pegboard:",
|
||||||
},
|
},
|
||||||
ComboBox{
|
ComboBox{
|
||||||
AssignTo: &mw.pegboard_combo,
|
Alignment: AlignHFarVCenter,
|
||||||
Enabled: false,
|
AssignTo: &mw.pegboard_combo,
|
||||||
|
Enabled: false,
|
||||||
OnCurrentIndexChanged: func() {
|
OnCurrentIndexChanged: func() {
|
||||||
if !pegboard_trigged {
|
if !pegboard_trigged {
|
||||||
log.Println("Pegboard changed to: ", mw.pegboard_combo.Text())
|
log.Println("Pegboard changed to: ", mw.pegboard_combo.Text())
|
||||||
@@ -128,7 +131,8 @@ func main() {
|
|||||||
Layout: HBox{},
|
Layout: HBox{},
|
||||||
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{
|
||||||
|
|||||||
Reference in New Issue
Block a user