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

ImageView should have shorthand creation function

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: