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

iOS: Support string values with units for shadow property values

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: Release 9.2.0
    • Fix Version/s: Release 10.0.1
    • Component/s: iOS
    • Labels:

      Description

      I ran into this on the unit tests when we had image mismatches for a view with a border radius and shadow. I finally realized the issue is that the shadow's values are purely numeric, so are done in points (or dip) - so the actual pixel value will differ based on device density/scale.

      For API parity, it would make sense for shadow property values to support String values that denote a unit in the same way other view properties like width/height/top/bottom do.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vijaysingh Vijay Singh
                Reporter:
                cwilliams Christopher Williams
              • Watchers:
                1 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