@@ -11870,22 +11870,22 @@ def DistanceSettingSizer(var,key1,key2,key3):
1187011870 def onLeave(*args,**kwargs):
1187111871 G2plt.PlotStructure(G2frame,data)
1187211872 for key in key1,key2,key3:
11873- if key not in var: var[key] = 0
11873+ if key not in var: var[key] = 0.
1187411874 mapSizer = wx.FlexGridSizer(0,3,5,5)
1187511875 mapSizer.Add(wx.StaticText(drawOptions,wx.ID_ANY,'Show Map points within:'),0,WACV)
1187611876 mapSizer.Add(G2G.ValidatedTxtCtrl(drawOptions,var,key1,
1187711877 xmin=0.0,xmax=5.0,nDig=(10,1),size=(50,-1),
11878- OnLeave=onLeave))
11878+ typeHint=float, OnLeave=onLeave))
1187911879 mapSizer.Add(wx.StaticText(drawOptions,wx.ID_ANY,u"\u212B"),0,WACV)
1188011880 mapSizer.Add(wx.StaticText(drawOptions,wx.ID_ANY,'Show atoms within:'),0,WACV)
1188111881 mapSizer.Add(G2G.ValidatedTxtCtrl(drawOptions,var,key2,
1188211882 xmin=0.0,xmax=15.0,nDig=(10,1),size=(50,-1),
11883- OnLeave=onLeave))
11883+ typeHint=float, OnLeave=onLeave))
1188411884 mapSizer.Add(wx.StaticText(drawOptions,wx.ID_ANY,u"\u212B"),0,WACV)
1188511885 mapSizer.Add(wx.StaticText(drawOptions,wx.ID_ANY,'Label distance to atoms within:'),0,WACV)
1188611886 mapSizer.Add(G2G.ValidatedTxtCtrl(drawOptions,var,key3,
1188711887 xmin=0.0,xmax=15.0,nDig=(10,1),size=(50,-1),
11888- OnLeave=onLeave))
11888+ typeHint=float, OnLeave=onLeave))
1188911889 mapSizer.Add(wx.StaticText(drawOptions,wx.ID_ANY,u"\u212B"),0,WACV)
1189011890 return mapSizer
1189111891
0 commit comments