UVAshley / krank

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

controllable length to determine if textarea should be used ? #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, it is hardcoded in the isLargeText function of a value of 80. 
Given today's display device, 80 columns is pretty narrow(say for example 
the summary line of this issue submit form is wider than 80). Beside, many 
columns can be pretty wide yet are intended for single line usage, say for 
example URL.

I believe it would be better to have a much higher threshold or using some 
prefix/parameter when specifying the property fields in form(just 
like "field:suggest" indicate a field with suggest, may be a 
field#<length>" to indicate use text area if column length > <length>).

Original issue reported on code.google.com by garyng2...@gmail.com on 8 Jan 2008 at 11:02