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

iconInsets: Weird behaviour when not repositioning but also enlarging icon

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.2.0
    • Fix Version/s: Release 5.2.1, Release 5.4.0
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      SDK 5.2.0

    • Story Points:
      3
    • Sprint:
      2016 Sprint 4 SDK

      Description

      Using the new property introduced by TIMOB-18515 you get strange behaviour when you play with iconSets to not only reposition but also enlarge the icon:

      "Tab": {
        iconInsets: {
          top: 2,
          right: -4,
          bottom: -10,
          left: -4
        }
      }
      

      The icon resizes when you select/unselect the tab. And when you repeatedly tap on the icon it will continue to grow. See the attached video. While the behavior is native, we should only allow the top and left property to calculate the negative bottom and right automatically.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                fokkezb Fokke Zandbergen
                Reviewer:
                Chee Kiat Ng (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code