Changeset 34f23c8 in sasview for src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter2D.py
- Timestamp:
- Mar 20, 2019 8:06:22 AM (5 years ago)
- Branches:
- ticket-1249
- Children:
- 9305b46
- Parents:
- 09d7021
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter2D.py
r5251ec6 r34f23c8 179 179 # On Windows platform, default window size is incorrect, so set 180 180 # toolbar width to figure width. 181 _, th = self.toolbar.GetSize Tuple()182 fw, _ = self.canvas.GetSize Tuple()181 _, th = self.toolbar.GetSize() 182 fw, _ = self.canvas.GetSize() 183 183 self.toolbar.SetSize(wx.Size(fw, th)) 184 184 self.sizer.Add(self.toolbar, 0, wx.LEFT | wx.EXPAND) … … 400 400 pos = self.ScreenToClient(pos_evt) 401 401 except: 402 pos_x, pos_y = self.toolbar.GetPosition Tuple()402 pos_x, pos_y = self.toolbar.GetPosition() 403 403 pos = (pos_x, pos_y + 5) 404 404 self.PopupMenu(slicerpop, pos)
Note: See TracChangeset
for help on using the changeset viewer.