Changeset 34f23c8 in sasview for src/sas/sasgui/guiframe/gui_manager.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/gui_manager.py
r82d88d5 r34f23c8 282 282 toolbar = self.GetToolBar() 283 283 if toolbar is not None: 284 _, tb_h = toolbar.GetSize Tuple()284 _, tb_h = toolbar.GetSize() 285 285 height -= tb_h 286 286 return width, height … … 948 948 if panel_class.CENTER_PANE: 949 949 self.panels[str(wx_id)] = panel_class 950 _, pos_y = frame.GetPosition Tuple()950 _, pos_y = frame.GetPosition() 951 951 frame.SetPosition((d_panel_width + 1, pos_y)) 952 952 frame.SetSize((w, h)) … … 1116 1116 if not IS_WIN: 1117 1117 p.frame.Center() 1118 x_pos, _ = p.frame.GetPosition Tuple()1118 x_pos, _ = p.frame.GetPosition() 1119 1119 p.frame.SetPosition((x_pos, 112)) 1120 1120 p.frame.Show(True) … … 3011 3011 if self.GetToolBar() is not None and self.GetToolBar().IsShown(): 3012 3012 if not IS_LINUX: 3013 _, size_y = self.GetToolBar().GetSize Tuple()3013 _, size_y = self.GetToolBar().GetSize() 3014 3014 return size_y 3015 3015 … … 3130 3130 :rtype: tuple 3131 3131 """ 3132 width, height = self.GetSize Tuple()3132 width, height = self.GetSize() 3133 3133 if not IS_WIN: 3134 3134 # Subtract toolbar height to get real window side
Note: See TracChangeset
for help on using the changeset viewer.