Peter Bengtsson wrote:
I want to change the amount of rows the textarea changes with in Zope to a smaller number.
Where do I do that? By clicking "Taller" or "Shorter" the page obviously "recompiles" with a different number or rows for textarea. By looking at the HTML source in the management view, one click on "Taller" increases row="20" to row="25" I want it to change from 20 to 22 only. Ideas?
In OFS/DTMLMethod.py you will find the declaration for _size_changes: _size_changes={ 'Bigger': (5,5), 'Smaller': (-5,-5), 'Narrower': (0,-5), 'Wider': (0,5), 'Taller': (5,0), 'Shorter': (-5,0), } Just change it to: _size_changes={ 'Bigger': (5,5), 'Smaller': (-5,-5), 'Narrower': (0,-5), 'Wider': (0,5), 'Taller': (1,0), 'Shorter': (-1,0), } Shane