Browse Source

修改高级配置布局

master
lihua 5 years ago
parent
commit
d206977504
  1. 10
      LoRaMoteMock.go

10
LoRaMoteMock.go

@ -441,14 +441,20 @@ func (mw *MoteMainWindow) MoteAdvancedConfig() {
NumberEdit{AssignTo:&rssi}, NumberEdit{AssignTo:&rssi},
Label{Text:"信噪比:"}, Label{Text:"信噪比:"},
NumberEdit{AssignTo:&lsnr}, NumberEdit{AssignTo:&lsnr},
Label{Text:"帧控制:"},
CheckBox{AssignTo:&adr,Text:"adr",Checked:true}, GroupBox{
Title:"FCtrl",
Layout:Grid{Columns: 3},
Children:[]Widget{
CheckBox{AssignTo:&adr,Text:"adr"},
CheckBox{AssignTo:&req,Text:"req"}, CheckBox{AssignTo:&req,Text:"req"},
CheckBox{AssignTo:&ack,Text:"ack"}, CheckBox{AssignTo:&ack,Text:"ack"},
CheckBox{AssignTo:&fPending,Text:"fPending"}, CheckBox{AssignTo:&fPending,Text:"fPending"},
CheckBox{AssignTo:&classB,Text:"classB"}, CheckBox{AssignTo:&classB,Text:"classB"},
}, },
}, },
},
},
Composite{ Composite{
Layout: HBox{}, Layout: HBox{},
Children: []Widget{ Children: []Widget{

Loading…
Cancel
Save