Changeset 1f2560b in sasview for sansguiframe/src
- Timestamp:
- Oct 15, 2011 11:30:34 AM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- ab638a3
- Parents:
- c5272d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter1D.py
rc5272d1 r1f2560b 178 178 return 179 179 self.x_size = self.GetSize() 180 print "x", self.x_size 180 print "x", self.x_size, self.resizing 181 181 # Ready for another event 182 182 # Do not remove this Skip. Otherwise it will get runtime error on wx>=2.9. … … 187 187 self.parent.set_schedule(True) 188 188 pos_x, pos_y = self.GetPositionTuple() 189 client_size = self.GetClientSize() 189 190 if pos_x != 0 and pos_y != 0: 190 191 self.size, y_size = self.GetClientSizeTuple() … … 192 193 else: 193 194 x_size, y_size = self.GetClientSizeTuple() 194 print "client", self.size,y_size 195 self. SetSize(self.x_size)195 print "client", self.size,y_size, self.GetClientSize() 196 self.canvas.SetSize(client_size) 196 197 def set_resizing(self, resizing=False): 197 198 """
Note: See TracChangeset
for help on using the changeset viewer.