Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
Conditionalize some of the text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Sep 24, 2020
1 parent 2fbecda commit 19d1119
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lostit/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,9 @@ def __init__(self, *args, **kwargs):
self.explanation = wx.StaticText(panel, wx.ID_ANY,
'Caltech Access credentials (to access TIND)',
style = wx.ALIGN_CENTER)
self.explanation.SetFont(wx.Font(9, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_ITALIC,
wx.FONTWEIGHT_NORMAL, 0, "Arial"))
if sys.platform.startswith('win'):
self.explanation.SetFont(wx.Font(9, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_ITALIC,
wx.FONTWEIGHT_NORMAL, 0, "Arial"))
self.top_line = wx.StaticLine(panel, wx.ID_ANY)
self.login_label = wx.StaticText(panel, wx.ID_ANY, "Caltech login: ", style = wx.ALIGN_RIGHT)
self.login = wx.TextCtrl(panel, wx.ID_ANY, '', style = wx.TE_PROCESS_ENTER)
Expand Down

0 comments on commit 19d1119

Please sign in to comment.