Search


Welcome, Guest
Username: Password: Remember me

TOPIC: Width of text area boxes in Issue Creation Form

Width of text area boxes in Issue Creation Form 6 months 1 week ago #1

  • geoffc
  • geoffc's Avatar
  • OFFLINE
  • Administrator
  • Posts: 317
  • Thank you received: 6
  • Karma: 1
Whilst investigating the use of JForm 'Text Area' box widths we thought we would share a fix for the 'width' text area boxes for the Summary and Description fields.

By default the 'textarea' boxes with Bootstrap based templates seems to be restricted to a width of about 206px and do not make use of the full width of the available area.

We can change this by changing the file site/components/com_issuetracker/models/forms/itissues.xml. Find the sections that relate to the 'issue _summary' and 'description' fields.

Within each of the definitions add the line (just after the field def line):

class="inputbox textarea-span"

The important bit is the textarea-span after the inputbox. Then refresh the site input form and the boxes should expand over the full width.

This is shown in the diagram below using the 'Protostar' template.

461_1.png
Regards
Geoff
Last Edit: 4 months 20 hours ago by geoffc.
The administrator has disabled public write access.
Time to create page: 0.232 seconds

Additional information

The Macrotone Consulting Web site would like to use cookies to store information on your computer, to improve our website. Cookies used for the essential operation of the site have already been set. To find out more about the cookies we use and how to delete them, see our Privacy Policy.

I accept cookies from this site.