Issue 248: Label refresh() doesn't refresh font_size
Status:  WontFix
Owner: ----
Closed:  May 2010
Reported by awa...@gmail.com, May 12, 2010
What steps will reproduce the problem?
1.create a label
2.refresh() 
3.

What is the expected output? What do you see instead?
label keeps its size

What version of the product are you using? On what operating system?
pymt 0.4
ubuntu 10.04

lease provide any additional information below.
the test file talks by itself 
text_refresh.py
979 bytes   View   Download
May 15, 2010
Project Member #1 txprog
As it's written in the documentation:

    ..warning ::
        The core text label can't be changed at runtime, you must recreate one.

So, you can't :)

Also, just a tips in your code, this notation:
print str(self.txt.font_size)+' '+str(self.txt.bold)+' '+str(self.txt.size)+'
'+str(self.txt.color)
Can be changed to:
print self.txt.font_size, self.txt.bold, self.txt.size, self.txt.color


Also, you can play with label texture (if it's something you want):
txt = Label('bleh')
...
drawTexturedRectangle(texture=txt.texture, pos=..., size=...)

Status: WontFix