Changeset af72b2e in sasview for sansguiframe/src
- Timestamp:
- Apr 21, 2013 8:17:51 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:
- 7f79ea95
- Parents:
- e173956
- Location:
- sansguiframe/src/sans/guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_panel.py
rae84427 raf72b2e 1064 1064 """ 1065 1065 return self.frame 1066 1066 1067 def on_close(self, event): 1068 """ 1069 On close event 1070 """ 1071 self.parent.show_data_panel(event) 1072 1067 1073 def set_schedule_full_draw(self, panel=None, func='del'): 1068 1074 """ -
sansguiframe/src/sans/guiframe/gui_manager.py
re173956 raf72b2e 983 983 self.panels["default"] = self.defaultPanel 984 984 w, h = self._get_panels_size(self.defaultPanel) 985 #win = MDIFrame(self, DefaultPanel, "default",986 # (self._window_width, self._window_height))987 #win.set_panel(self.defaultPanel)988 #self.defaultPanel.set_frame(win)989 985 frame = self.defaultPanel.get_frame() 990 986 frame.SetSize((self._window_width, self._window_height)) 991 987 frame.Show(True) 992 """993 self._mgr.AddPane(self.defaultPanel, wx.aui.AuiPaneInfo().994 Name("default").995 CenterPane().996 # This is where we set the size of997 # the application window998 BestSize(wx.Size(self._window_width,999 self._window_height)).1000 Show())1001 """1002 988 #add data panel 1003 989 … … 1037 1023 if not IS_WIN: 1038 1024 x_pos, _ = frame.GetPositionTuple() 1039 frame.SetPosition((x_pos, mac_pos_y ))1025 frame.SetPosition((x_pos, mac_pos_y + 50)) 1040 1026 1041 1027 if not IS_WIN: 1042 self.SetSize((self._window_width, 40))1028 self.SetSize((self._window_width, mac_pos_y)) 1043 1029 1044 1030 def update_data(self, prev_data, new_data):
Note: See TracChangeset
for help on using the changeset viewer.