How to increase the size of the text box area
Added by RedChris B. almost 8 years ago
In connection with adjusting Redmine to our needs I added custom fields (Long text format). However the default area size of this type of field is too small for us.
Therefore I do need to know how to increase the size of the text box area visible in the Issue Tab. I tried to find the default size parameters in the BITNAMI_REDMINE database and in various configuration files but without success.
My environment is:
- Redmine 3.3.1
- Ruby 2.1.10-p492
- Rails 4.2.7.1
- DB adapter Mysql2
- Subversion 1.9.4
- Git 2.7.4
- OS Debian 8
So, I kindly ask you for help.
Replies (3)
RE: How to increase the size of the text box area - Added by Mischa The Evil almost 8 years ago
RedChris B. wrote:
There is no way to configure any text area size in Redmine, not in the DB nor in some configuration file. The size of long-text format custom field text areas is hard-coded in the Redmine source. There are two instance methods that set the size:[...]
Therefore I do need to know how to increase the size of the text box area visible in the Issue Tab. I tried to find the default size parameters in the BITNAMI_REDMINE database and in various configuration files but without success.
[...]
Redmine::FieldFormat::TextFormat#edit_tag
, source:/tags/3.3.1/lib/redmine/field_format.rb#L353Redmine::FieldFormat::TextFormat#bulk_edit_tag
, source:/tags/3.3.1/lib/redmine/field_format.rb#L357
RE: How to increase the size of the text box area - Added by RedChris B. almost 8 years ago
Many thanks for your help. I will also try to use the mentioned patch #21705.