brockcarson / controlp5

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

Textarea hides last line at certain sizes with custom font #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create and set a custom font for the current ControlP5
1. Create a textarea control and a means to add lines to it
2. Add lines to it one by one

Or just run the attached example

What is the expected output? What do you see instead?
Lines get added normally until the textarea fills up. For certain sizes only 
(repeating at increments equal to the font size set - like at 110,112,134... in 
the example with a size 12 font), at the point where the textarea should become 
scrolled, nothing happens; subsequent lines appear one line late - ie. the last 
line added only becomes visible after adding a new one, which stays hidden 
until yet another line is added.

What version of the product are you using? On what operating system?
Processing 2.0b6, ControlP5 2.0.3 (79?), WinXP

Original issue reported on code.google.com by attila.a...@gmail.com on 21 Jan 2013 at 1:13

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by soj...@gmail.com on 22 Jan 2013 at 8:21