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

ImageView should have shorthand creation function

XMLWordPrintable

      Writing this code all the time:

      var i = ImageView { image: Image { url: "blah" } }

      is both tedious and clutters the code. Would be nicer to have:

      var i = ImageView.image("blah")

      This is similar in style to the Font.font creation functions.

            lnerad Ľubomír Nerád (Inactive)
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: