Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-12593

iOS: Caps not working for View/ImageView

    Details

      Description

      Issue

      Using backgroundLeftCaps and backgroundTopCaps on views/imageviews does not have the same effect as the button. The image in imageview/view interpolates/blends the stretched region unlike a button image.

      Steps to Reproduce

      1. Run the sample code here:

      http://pastie.org/private/h9rbm8ky381wvtob04ghww

      Copy the attached image "testimage.png" to Resources folder.

      2. Notice the output in the screenshot attached.

      The button version at the top is correct, it only shows the pixels we want and it does not do any interpolation. However the view and imageview with the same "caps" data, blends/interpolates the stretched region.

      Expected Output

      The imageview/view should look the same as a button.

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              vjoshi Varun Joshi
              Reviewer:
              Max Stepanov
            • Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-15548
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration