Search code examples
trac

Can a Trac 0.12.3 textarea field span columns?


Our old Trac installation was running version 0.11.5. We have just upgraded to 0.12.3 (rc1). On the old installation we had a custom textarea field for entering additional info separate from the description. I have recreated that field in 0.12.3.

In 0.11.5 it used to span both columns of the ticket. In 0.12.3 it takes up only one column. Some searching revealed some tickets and discussion about layout, but more complex than what I'm talking about.

How can I make a textarea span both columns like it did in 0.11.5?


Solution

  • You have to use field.rows = 2. Here is an example as it would be used in trac.ini:

    [ticket-custom]
    release_note = textarea
    release_note.cols = 60
    release_note.label = Release Note
    release_note.order = 0
    release_note.rows = 2