Pivot
  1. Pivot
  2. PIVOT-803

ImageView placement is incorrect when nested inside two TablePanes

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

      1. test.zip
        7 kB
        Bill van Melle

        Activity

        Noel Grandin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Sandro Martini made changes -
        Assignee Noel Grandin [ grandinj ]
        Fix Version/s 2.0.1 [ 12315951 ]
        Fix Version/s 2.1 [ 12314825 ]
        Affects Version/s 2.0.1 [ 12315951 ]
        Sandro Martini made changes -
        Fix Version/s 2.1 [ 12314825 ]
        Bill van Melle made changes -
        Field Original Value New Value
        Attachment test.zip [ 12499599 ]
        Bill van Melle created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development