tweak temperature gauge layout a little

master
Keegi 2012-07-23 16:01:47 +03:00
parent 2cfca605c2
commit 89364d6f84
1 changed files with 2 additions and 2 deletions

View File

@ -2063,10 +2063,10 @@ class TempGauge(wx.Panel):
#gc.DrawText(text,29,-2)
gc.SetFont(gc.CreateFont(wx.Font(10,wx.FONTFAMILY_DEFAULT,wx.FONTSTYLE_NORMAL,wx.FONTWEIGHT_BOLD),wx.WHITE))
gc.DrawText(self.title,x0+19,y0+4)
gc.DrawText(text, x0+133,y0+4)
gc.DrawText(text, x0+119,y0+4)
gc.SetFont(gc.CreateFont(wx.Font(10,wx.FONTFAMILY_DEFAULT,wx.FONTSTYLE_NORMAL,wx.FONTWEIGHT_BOLD)))
gc.DrawText(self.title,x0+18,y0+3)
gc.DrawText(text, x0+132,y0+3)
gc.DrawText(text, x0+118,y0+3)
if __name__ == '__main__':
app = wx.App(False)