I have searched and made sure there are no existing issues for the issue I am filing
Description
When adding a view where only right positioning is provided WITHOUT width, like:
var label = Ti.UI.createLabel({text:"Hello World", right:10, color:"#000000"});
parentView.add(label);
results in different behavior between platforms.
Adding a width property like the following fixed the issue:
var label = Ti.UI.createLabel({text:"Hello World", right:10, width:Ti.UI.SIZE, color:"#000000"});
Expected Behavior
The label should be positioned to the right of the parent view on both iOS and Android.
Actual behavior
On iOS: the label will be positioned to the right of the parent view as expected.
On Android: the label will be positioned to the LEFT as if the [missing] width is filling the entire space.
Reproducible sample
see above
Steps to reproduce
see above
Platform
Android, Android & iOS
SDK version you are using
13.3.0
Alloy version you are using
No response
I have searched and made sure there are no existing issues for the issue I am filing
Description
When adding a view where only right positioning is provided WITHOUT width, like:
results in different behavior between platforms.
Adding a width property like the following fixed the issue:
Expected Behavior
The label should be positioned to the right of the parent view on both iOS and Android.
Actual behavior
On iOS: the label will be positioned to the right of the parent view as expected.
On Android: the label will be positioned to the LEFT as if the [missing] width is filling the entire space.
Reproducible sample
see above
Steps to reproduce
see above
Platform
Android, Android & iOS
SDK version you are using
13.3.0
Alloy version you are using
No response