Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1714

Allow ~/ to be used as a shortcut for WPATH() in xml view attributes

    Details

    • Type: New Feature
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      Currently you have to use WPATH() around everything that refers to a path relative to the widget directory.

      You can do this currently if you are using the PR for this ticket: ALOY-1253 .
      I highly recommend merging this PR as well.

      <Alloy>
      	<ImageView id="image" image="WPATH('images/a.png')" />
      </Alloy>
      

      I am proposing that ~/ be used as a shortcut for this so that WPATH() is no longer required when using with XML View attributes

      <Alloy>
      	<ImageView id="image" image="~/images/a.png" />
      </Alloy>
      

        Attachments

          Activity

            People

            • Assignee:
              fmiao Feon Sua Xin Miao
              Reporter:
              bhouse Brenton House
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration