Changeset cb6a2b7 in sasview
- Timestamp:
- Apr 21, 2013 10:28:22 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:
- 7d90e55
- Parents:
- 4de587d
- Location:
- sansguiframe/src/sans/guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_panel.py
raf72b2e rcb6a2b7 130 130 list=None, 131 131 size=(PANEL_WIDTH, PANEL_HEIGHT), 132 id=-1, 132 133 list_of_perspective=None, manager=None, *args, **kwds): 133 134 kwds['size'] = size 134 135 kwds['style'] = STYLE_FLAG 135 ScrolledPanel.__init__(self, parent=parent, *args, **kwds)136 ScrolledPanel.__init__(self, parent=parent, id=id, *args, **kwds) 136 137 PanelBase.__init__(self) 137 138 self.SetupScrolling() -
sansguiframe/src/sans/guiframe/gui_manager.py
r4de587d rcb6a2b7 981 981 if not IS_WIN: 982 982 x_pos, _ = frame.GetPositionTuple() 983 frame.SetPosition((x_pos, mac_pos_y + 7 2))983 frame.SetPosition((x_pos, mac_pos_y + 70)) 984 984 frame.Show(True) 985 985 #add data panel 986 986 987 987 #w, h = self._get_panels_size(self._data_panel) 988 win = MDIFrame(self, None, 'None' )988 win = MDIFrame(self, None, 'None', (100, 200)) 989 989 #win.EnableCloseButton(False) 990 990 self._data_panel = DataPanel(parent=win) 991 991 win.set_panel(self._data_panel) 992 self._data_panel.set_frame(win) 992 993 self.panels["data_panel"] = self._data_panel 993 994 w, h = self._get_panels_size(self._data_panel) 994 995 win.SetSize((w, h)) 995 self._data_panel.set_frame(win)996 996 style = self.__gui_style & GUIFRAME.MANAGER_ON 997 997 if style != GUIFRAME.MANAGER_ON: … … 1001 1001 if not IS_WIN: 1002 1002 x_pos, _ = win.GetPositionTuple() 1003 win.SetPosition((x_pos, mac_pos_y + 7 2))1003 win.SetPosition((x_pos, mac_pos_y + 70)) 1004 1004 win.Show(flag) 1005 1005 d_panel_width = w … … 1025 1025 if not IS_WIN: 1026 1026 x_pos, _ = frame.GetPositionTuple() 1027 frame.SetPosition((x_pos, mac_pos_y + 7 2))1027 frame.SetPosition((x_pos, mac_pos_y + 70)) 1028 1028 1029 1029 if not IS_WIN:
Note: See TracChangeset
for help on using the changeset viewer.