- Timestamp:
- May 18, 2011 3:07:22 PM (14 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:
- 0160ecb
- Parents:
- e6cee09
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/data_panel.py
radf44c2 r3f0c330 49 49 PLUGINS_WLIST = config.PLUGINS_WLIST 50 50 APPLICATION_WLIST = config.APPLICATION_WLIST 51 52 #Control panel width 53 if sys.platform.count("win32") > 0: 54 PANEL_WIDTH = 235 55 PANEL_HEIGHT = 700 56 CBOX_WIDTH = 140 57 BUTTON_WIDTH = 80 58 FONT_VARIANT = 0 59 else: 60 PANEL_WIDTH = 255 61 PANEL_HEIGHT = 750 62 CBOX_WIDTH = 155 63 BUTTON_WIDTH = 100 64 FONT_VARIANT = 1 65 51 66 try: 52 67 PANEL_WIDTH = config.DATA_PANEL_WIDTH 53 68 PANEL_HEIGHT = config.DATA_PANEL_HEIGHT 54 69 except: 55 PANEL_WIDTH = 235 56 PANEL_HEIGHT = 700 57 CBOX_WIDTH = 140 58 BUTTON_WIDTH = 80 70 pass 71 72 59 73 STYLE_FLAG =wx.RAISED_BORDER|CT.TR_HAS_BUTTONS| CT.TR_HIDE_ROOT|\ 60 74 wx.WANTS_CHARS|CT.TR_HAS_VARIABLE_ROW_HEIGHT … … 113 127 PanelBase.__init__(self) 114 128 self.SetupScrolling() 129 #Set window's font size 130 self.SetWindowVariant(variant=FONT_VARIANT) 115 131 self.loader = Loader() 116 132 #Default location
Note: See TracChangeset
for help on using the changeset viewer.