[AC-180] Animation doesnt work when I dont explicitly pass '*dp'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-11-10T06:02:32.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy, Titanium SDK & CLI |
Labels | ios, qe-testadded |
Reporter | Creative |
Assignee | Mostafizur Rahman |
Created | 2015-06-25T08:26:56.000+0000 |
Updated | 2015-11-10T06:02:32.000+0000 |
Description
Animating an object from left to right:
dip * defined in your tiapp.xml. However, animation doesnt play (tested on iOS, not sure for Android) unless you define *right: '20dp'*.
var viewObject = Ti.UI.createButton({
left: 10 // or '10dp' wouldnt make a difference (depending on tiapp.xml setting)
});
viewObject.animate({
right: 20
});
You would expect the above to work when you have *
Hello We tested this issue but couldn't reproduce this as a bug in our environment. *Testing Environment:* Appcelerator Studio, build: 4.3.3.201510212245 Appcelerator Command-Line Interface, version 5.0.4 Mac Osx: 10.9.5 iOS simulator: iPhone5s (8.1) Node.js Version = 0.12.7 Jdk: 1.7.0_65 Ti Sdk : 5.0.2 *Test Case:*
*Steps to test:* 1. Create a classic project 2. Open ti.xml file and replace