Changes in src/sas/sasgui/guiframe/startup_configuration.py [34f23c8:5251ec6] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/startup_configuration.py
r34f23c8 r5251ec6 127 127 for panel in self.parent.plot_panels.values(): 128 128 #p_panel = self.parent._mgr.GetPane(panel.window_name) 129 width, _ = panel.frame.GetSize ()129 width, _ = panel.frame.GetSizeTuple() 130 130 if panel.frame.IsShown(): 131 131 if p_size is None or width > p_size: … … 137 137 try: 138 138 control_frame = self.parent.get_current_perspective().frame 139 control_w, control_h = control_frame.GetSize ()139 control_w, control_h = control_frame.GetSizeTuple() 140 140 self.current_string['CONTROL_WIDTH'] = control_w 141 141 self.current_string['CONTROL_HEIGHT'] = control_h … … 144 144 self.current_string['CONTROL_HEIGHT'] = -1 145 145 146 data_pw, _ = self.parent.panels["data_panel"].frame.GetSize ()146 data_pw, _ = self.parent.panels["data_panel"].frame.GetSizeTuple() 147 147 if data_pw is None: 148 148 data_pw = CURRENT_STRINGS['DATAPANEL_WIDTH']
Note: See TracChangeset
for help on using the changeset viewer.