mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-05 17:40:37 +08:00
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:
parent
497eb6f03d
commit
76f845d3fa
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user