Changeset 4de587d in sasview for sansguiframe/src/sans
- Timestamp:
- Apr 21, 2013 11:59:58 AM (12 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:
- cb6a2b7
- Parents:
- a2f7fcc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_manager.py
ra2f7fcc r4de587d 985 985 #add data panel 986 986 987 w, h = self._get_panels_size(self._data_panel)988 win = MDIFrame(self, None, 'None' , (w,h))989 win.EnableCloseButton(False)987 #w, h = self._get_panels_size(self._data_panel) 988 win = MDIFrame(self, None, 'None') 989 #win.EnableCloseButton(False) 990 990 self._data_panel = DataPanel(parent=win) 991 991 win.set_panel(self._data_panel) 992 992 self.panels["data_panel"] = self._data_panel 993 w, h = self._get_panels_size(self._data_panel) 994 win.SetSize((w, h)) 993 995 self._data_panel.set_frame(win) 994 996 style = self.__gui_style & GUIFRAME.MANAGER_ON … … 998 1000 flag = True 999 1001 if not IS_WIN: 1000 x_pos, _ = frame.GetPositionTuple()1001 frame.SetPosition((x_pos, mac_pos_y + 72))1002 x_pos, _ = win.GetPositionTuple() 1003 win.SetPosition((x_pos, mac_pos_y + 72)) 1002 1004 win.Show(flag) 1003 1005 d_panel_width = w
Note: See TracChangeset
for help on using the changeset viewer.