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

Sectioned View plugin: List View sections positioned wrong when three sections are configured side by side

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • sectioned-view-plugin
    • None
    • Jenkins version: 1.424
      Sectioned View plugin version: 1.15

      I have been using Sectioned View plugin to create a view with two columns (two List View sections). This has worked fine. I'm very pleased with the output.

      I was wondering if I could fit three columns into a view, and still keep it readable. I created three simple List View sections: One, Two, and Three. I aligned them left, center, and right respectively, and set width to 1/3 each.

      I was expecting to see each section side by side, but instead, they were positioned one after another (threeColumns.png).

          [JENKINS-10612] Sectioned View plugin: List View sections positioned wrong when three sections are configured side by side

          Hi Sami, yes, I'm afraid the current display logic only allows for two sections to be placed side-by-side.

          All the layout is done using floating divs and when I was writing the positioning logic I decided to keep it fairly simple. Any section set to center alignment will always be displayed on its own line.

          Timothy Bingaman added a comment - Hi Sami, yes, I'm afraid the current display logic only allows for two sections to be placed side-by-side. All the layout is done using floating divs and when I was writing the positioning logic I decided to keep it fairly simple. Any section set to center alignment will always be displayed on its own line.

          Yves DM added a comment -

          Yves DM added a comment - Pull request made : https://github.com/jenkinsci/sectioned-view-plugin/pull/4 Fixed as suggested in : JENKINS-19376

            tbingaman Timothy Bingaman
            salsa Sami Salonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: