Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8123732

GridPaneDesignInfo.getCellBounds() returns wrong cell heights

    XMLWordPrintable

    Details

      Description

      GridPaneDesignInfo.getCellBounds() returns wrong value for the attached FXML file:
      it reports height==0 for all the cells ; however cells all have a non null height.

      To reproduce:
      1) Unzip and open the DTL5564 NB project
      2) Adjust path of jfxrt.jar, javafx-designtime.jar, javafx-beans-dt.jar
      3) Run
           -> a window pops up and displays Chirac.fxml content
           -> the tab "Børn" is preselected
      4) Click on "Print cells bounds of #bornSamvaersGirdPane"
           -> cell bounds are printed on standard output
           -> all the heights are zero
           -> however, looking at snapshot.png, cell heights are visibly not zero

      I use the following FX build:

      Product: javafx-2.2.40ea
      Platform: macosx-universal
      Build-Number: 35

           

        Attachments

        1. Chirac.fxml
          110 kB
        2. DTL5564.zip
          27 kB
        3. snapshot.png
          snapshot.png
          110 kB

          Issue Links

            Activity

              People

              Assignee:
              msladecek Martin Sládeček
              Reporter:
              eleponn Eric Le Ponner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: