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

VBox layout falls apart when laying out asynchronous loading Images jfx 1.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx1.0
    • Fix Version/s: fx1.2
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      Mac

      Description

      Stage {
          title: "Application title"
          width: 250
          height: 400
          scene: Scene {
              content: VBox {
                  spacing: 10
                  content: bind for(i in [1..8]){
                      Group {
                          content: [
                              Rectangle{
                                  fill: Color.BLUE
                                  width: 100
                                  height: 50
                              },

                              ImageView {
                                  image: Image{
                                      url: "http://www.google.com/intl/en_ALL/images/logo.gif"
                                      backgroundLoading: true

                                  }
                                  fitWidth: 40
                                  fitHeight: 40
                                  smooth: true
                                  cache: true

                          }]
                      }
                  }

              }

          }
      }


      Change backgroundLoading from true to false to see the effects between synchronous and asynchronous loading

        Attachments

          Activity

            People

            Assignee:
            amfowler Anne Fowler (Inactive)
            Reporter:
            schristmajfx Sean Christmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: