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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx1.2
    • fx1.0
    • javafx
    • None
    • Mac

      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

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

              Created:
              Updated:
              Resolved:
              Imported: