Changeset 856 for trunk/GSASIIphsGUI.py
- Timestamp:
- Feb 24, 2013 8:21:58 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r855 r856 3382 3382 except ValueError: 3383 3383 pass 3384 Draw()3384 G2plt.PlotStructure(G2frame,data) 3385 3385 3386 3386 def OnOrien(event): … … 3397 3397 except ValueError: 3398 3398 pass 3399 Draw()3399 G2plt.PlotStructure(G2frame,data) 3400 3400 3401 3401 def OnAtOrigPick(event): … … 3416 3416 else: 3417 3417 data['testRBObj']['rbObj']['Orig'][0] = atomData[atNames[item][atName]][cx:cx+3] 3418 Draw()3418 G2plt.PlotStructure(G2frame,data) 3419 3419 3420 3420 def OnAtQPick(event): … … 3448 3448 Nxyz = np.array(atomData[atInd[0]][cx:cx+3]) 3449 3449 data['testRBObj']['rbObj']['Orig'][0] = Nxyz-Oxyz 3450 Draw()3450 G2plt.PlotStructure(G2frame,data) 3451 3451 3452 3452 def OnTorAngle(event): … … 3588 3588 btnSizer.Add((20,20),1) 3589 3589 mainSizer.Add(btnSizer,0,wx.EXPAND|wx.BOTTOM|wx.TOP, 10) 3590 mainSizer.FitInside(RigidBodies)3591 Size = mainSizer.GetMinSize()3592 3590 RigidBodies.SetSizer(mainSizer) 3591 Size = mainSizer.Fit(RigidBodies) 3593 3592 Size[0] += 40 3594 Size[1] = m ax(Size[1],290) + 353593 Size[1] = min(max(Size[1],290) + 35,560) 3595 3594 RigidBodies.SetSize(Size) 3596 3595 RigidBodies.SetScrollbars(10,10,Size[0]/10-4,Size[1]/10-1)
Note: See TracChangeset
for help on using the changeset viewer.