Changeset 25d7641 in sasview for calculatorview
- Timestamp:
- Jun 23, 2011 1:11:32 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:
- 011b710
- Parents:
- f726a63
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/perspectives/calculator/resolution_calculator_panel.py
rf726a63 r25d7641 35 35 PANEL_HEIGHT = 653 36 36 FONT_VARIANT = 0 37 IS_WIN = True 37 38 else: 38 PANEL_WIDTH = 5 6039 PANEL_HEIGHT = 6 9239 PANEL_WIDTH = 540 40 PANEL_HEIGHT = 672 40 41 FONT_VARIANT = 1 42 IS_WIN = False 41 43 42 44 _SOURCE_MASS = {'Alpha':6.64465620E-24, … … 560 562 # Compute before adding the canvas to the sizer 561 563 self.on_compute() 562 564 563 565 # Fill up the sizer 566 if IS_WIN: 567 gap = 27 568 else: 569 gap = 15 564 570 self.vertical_r_sizer.Add(self.canvas, 0, 565 571 wx.ALL|wx.EXPAND, 2) 566 self.vertical_r_spacer.Add((0, 24))572 self.vertical_r_spacer.Add((0, gap)) 567 573 self.vertical_r_spacer.Add(self.vertical_r_sizer, 0, 568 574 wx.ALL|wx.EXPAND, 2) 569 self.vertical_r_spacer.Add((0, 30))575 self.vertical_r_spacer.Add((0, gap)) 570 576 self.vertical_r_spacer.Add(wx.StaticLine(self), 0, 571 577 wx.ALL|wx.EXPAND, 2)
Note: See TracChangeset
for help on using the changeset viewer.