merlinvn / controlp5

Automatically exported from code.google.com/p/controlp5
0 stars 0 forks source link

Textfield crashes application if too much text is entered with custom font #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

PFont font = createFont("courier", 15);
cp5.addTextField("part")
.setPosition(20, 200)
.setSize(170, 37)
.setFont(font)
.setFocus(true)
.setColor(color(0))
.setAutoClear(false)
.setGroup(myGroup)
;

Now type in a lot of text, about 40 chars

What version of the product are you using? On what operating system?
0.7.2, Mac OS X

Original issue reported on code.google.com by feldmann...@gmail.com on 25 Apr 2012 at 10:34

GoogleCodeExporter commented 8 years ago
source of error is setSize(), the size of the valuelabel which displays text, 
does not get updated. fixed with 0.7.3

Original comment by soj...@gmail.com on 27 Apr 2012 at 2:51

GoogleCodeExporter commented 8 years ago

Original comment by soj...@gmail.com on 18 May 2012 at 5:18