Fixes #49 issue

Calling self.Layout() after changing the static text fixes text going
outside the box.
Needs to be checked on Linux and Windows.
This commit is contained in:
Ferdi van der Werf committed 2012-04-11 23:49:09 +02:00
1 parent 497eb6f03d
commit 76f845d3fa
1 file changed
+2 -1
+2 -1
View File
@@ -105,7 +105,8 @@ class printWindow(wx.Frame):
status += 'Line: %d/%d\n' % (self.printIdx, len(self.gcodeList))
if self.temp != None:
status += 'Temp: %d\n' % (self.temp)
self.statsText.SetLabel(status)
self.statsText.SetLabel(status.strip())
self.Layout()
def OnConnect(self, e):
if self.machineCom != None: