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

iOS: ImageView height and width are ignored when images array is used (flipbook animation)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: Release 3.0.2
    • Component/s: iOS
    • Labels:
    • Environment:

      iOS Simulator 6.1 & iPod Touch (4th gen, software version 6.1)
      Ti SDK 3.0.2 GA

      Description

      Platform: iOS
      Device: iOS Simulator 6.1 & iPod Touch (4th gen, software version 6.1)
      Repro:
      1. Import Kitchen Sink
      2. Make sure Titanium SDK 3.0.0.GA is selected in the Build Properties in tiapp.xml
      3. Open Resources/ui/common/baseui/image_view_animated.js
      4. Add height: 100 and width: 100 to createImageView param object

      	var imageView = Titanium.UI.createImageView({
      		images:images,
      		duration:100, // in milliseconds, the time before next frame is shown
      		repeatCount:0,  // 0 means animation repeats indefinitely, use > 1 to control repeat count
      		top:0,
      		height: 100,
      		width: 100
      	});
      

      Result: The image's rendered size is unchanged (though its position is affected)
      Expected: The image's rendered size is 100x100
      Regression:The example above works correctly in 2.1.4.GA

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                bartrobot Bart Seaman
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration