Changeset 567e88d in sasview for sansguiframe/src
- Timestamp:
- Apr 25, 2012 9:25:15 AM (13 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:
- 99dd722
- Parents:
- 7dfdd56
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_manager.py
r7dfdd56 r567e88d 494 494 excel_app.Visible = 1 495 495 except: 496 msg = "Error occured when calling Excel\n" +497 "Check that Excel in installed in this machine or \n" +498 496 msg = "Error occured when calling Excel\n" 497 msg += "Check that Excel in installed in this machine or \n" 498 msg += "Check that %s really exists.\n" % str(file_name) 499 499 wx.PostEvent(self, StatusEvent(status=msg, 500 500 info="error")) … … 3333 3333 """ 3334 3334 """ 3335 # global GUIFRAME_WIDTH, GUIFRAME_HEIGHT 3336 # 3337 # displays = (wx.Display(i) for i in range(wx.Display.GetCount())) 3338 # sizes = [display.GetGeometry().GetSize() for display in displays] 3339 # for x in displays: 3340 # print x 3341 # for y in sizes: 3342 # print y 3343 # 3344 # if (GUIFRAME_WIDTH > ((wx.DisplaySize()[0]/100)*90) | GUIFRAME_HEIGHT > ((wx.DisplaySize()[1]/100)*90) ): 3345 # GUIFRAME_WIDTH = (wx.DisplaySize()[0]/100)*90 3346 # GUIFRAME_HEIGHT = (wx.DisplaySize()[1]/100)*90 3347 3335 3348 pos, size = self.window_placement((GUIFRAME_WIDTH, GUIFRAME_HEIGHT)) 3336 3349 self.frame = ViewerFrame(parent=None,
Note: See TracChangeset
for help on using the changeset viewer.