Commit 40eda922 authored by augustin_s's avatar augustin_s 🐍
Browse files

made space right of checkboxes not trigger checkbox change

parent 0ccf62cf
......@@ -68,9 +68,9 @@ class ScanPanel(wx.Panel):
hb_pos = make_filled_hbox(widgets)
widgets = (cb_relative, cb_return)
hb_cbs = make_filled_vbox(widgets)
vb_cbs = make_filled_vbox(widgets, flag=wx.ALL)
widgets = (cb_adjs, st_adj, STRETCH, hb_pos, hb_cbs, le_npulses, le_nrepeat, le_fname, eta, btn_go)
widgets = (cb_adjs, st_adj, STRETCH, hb_pos, vb_cbs, le_npulses, le_nrepeat, le_fname, eta, btn_go)
vbox = make_filled_vbox(widgets, border=10)
self.SetSizerAndFit(vbox)
......
......@@ -94,9 +94,9 @@ class SpecialScanPanel(wx.Panel):
hb_pos = make_filled_hbox(widgets)
widgets = (cb_relative, cb_return)
hb_cbs = make_filled_vbox(widgets)
vb_cbs = make_filled_vbox(widgets, flag=wx.ALL)
widgets = (cb_adjs, st_adj, EXPANDING, hb_values, hb_pos, hb_cbs, le_npulses, le_nrepeat, le_fname, eta, btn_go)
widgets = (cb_adjs, st_adj, EXPANDING, hb_values, hb_pos, vb_cbs, le_npulses, le_nrepeat, le_fname, eta, btn_go)
vbox = make_filled_vbox(widgets, border=10)
self.SetSizerAndFit(vbox)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment