Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-803

ImageView placement is incorrect when nested inside two TablePanes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: wtk
    • Labels:
      None

      Description

      If you have an ImageView nested two levels deep inside a TablePane, the image is aligned incorrectly. I've seen cases that vary from no problem to the top coordinate being so large that the image doesn't display at all.

      I wrote about this a long time ago (http://apache-pivot-users.399431.n3.nabble.com/ImageView-messes-up-nested-inside-two-TablePanes-td2514398.html) but apparently neglected to file a bug report. At the time, Greg suggested that the layout code was passing the wrong height to the ImageView.

      I'll attach a test case.

        Attachments

        1. test.zip
          7 kB
          Bill van Melle

          Activity

            People

            • Assignee:
              grandinj Noel Grandin
              Reporter:
              bvanmelle Bill van Melle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: