Skip to content

Commit

Permalink
more sizing tweaks for XRF display
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Jul 12, 2024
1 parent bacce3a commit db2c687
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions larch/wxlib/xrfdisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,9 @@ def createControlPanel(self):
xlines.SetFont(self.font_fixedwidth)
self.wids['xray_lines'] = xlines

xw = (60, 110, 90, 90)
if platform=='win':
xw = (60, 110, 90, 90)
xw = (55, 105, 90, 95)
if platform=='darwin':
xw = (55, 80, 65, 120)
xlines.AppendTextColumn('Line', width=xw[0])
xlines.AppendTextColumn('Energy(keV)', width=xw[1])
xlines.AppendTextColumn('Strength', width=xw[2])
Expand Down

0 comments on commit db2c687

Please sign in to comment.