chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497eb6f
)
Fixes #49 issue
author
Ferdi van der Werf
<efcm@vdwerf.eu>
Wed, 11 Apr 2012 21:49:09 +0000
(23:49 +0200)
committer
Ferdi van der Werf
<efcm@vdwerf.eu>
Wed, 11 Apr 2012 21:49:09 +0000
(23:49 +0200)
Calling self.Layout() after changing the static text fixes text going
outside the box.
Needs to be checked on Linux and Windows.
Cura/gui/printWindow.py
patch
|
blob
|
history
diff --git
a/Cura/gui/printWindow.py
b/Cura/gui/printWindow.py
index 46c7152bc6a572853381d74953d2c19590970a6f..fd9b0ef3a838e758131b32b2b2e988bbe5930f17 100644
(file)
--- a/
Cura/gui/printWindow.py
+++ b/
Cura/gui/printWindow.py
@@
-105,7
+105,8
@@
class printWindow(wx.Frame):
status += 'Line: %d/%d\n' % (self.printIdx, len(self.gcodeList))
\r
if self.temp != None:
\r
status += 'Temp: %d\n' % (self.temp)
\r
- self.statsText.SetLabel(status)
\r
+ self.statsText.SetLabel(status.strip())
\r
+ self.Layout()
\r
\r
def OnConnect(self, e):
\r
if self.machineCom != None:
\r