Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16966

f:optionalBlock not indented correctly

XMLWordPrintable

      When using an f:optionalBlock in a config.jelly file, the optional block is not indented like the other entries on the form. See the attachment for an example. See the URL for a config.jelly that exhibits this problem.

      In that code, I've worked around the problem with an explicit margin-left: 2em on the enclosing table.

      The layout issue might be related to the enclosing f:block and table elements, but if I leave those out, then the optionalBlock is always expanded when first opening the form, even if the checkbox is not checked.

            Unassigned Unassigned
            randycoulman Randy Coulman
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: