By Alvin Alexander. Last updated: April 10, 2018
To specify the rows and columns in a Play Framework 2.1.x form field, use a syntax like this:
@textarea(
urlForm("notes"),
'_label -> "Notes",
'placeholder -> "Any notes you want to add",
'rows -> 5,
'cols -> 60
)
The textarea documentation shows that you can also specify the textarea size like this:
@textarea(field = myForm("address"), args = 'rows -> 3, 'cols -> 50)

