[TIMOB-23283] Windows: ProgressBar Ti.UI.FILL does not display the bar correctly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-05-12T15:49:05.000+0000 |
Affected Version/s | Release 5.3.0 |
Fix Version/s | Release 5.4.0 |
Components | Windows |
Labels | qe-5.3.0, qe-5.4.0 |
Reporter | Harry Bryant |
Assignee | Kota Iguchi |
Created | 2016-04-27T21:06:14.000+0000 |
Updated | 2016-06-28T21:49:37.000+0000 |
Description
Setting the ProgressBar width property to
Ti.UI.FILL
does not display the same behaviour on Windows Phone, as it does on iOS / Android.
*This affects both device & emulator.*
TEST CODE:
var pb = Ti.UI.createProgressBar({
min: 0,
max: 10,
value: 0,
color: 'blue',
backgroundColor: 'green',
backgroundDisabledColor: 'gray',
message: 'Downloading 0 of 10',
width: Ti.UI.FILL
});
var win = Ti.UI.createWindow();
win.add(pb);
win.open();
pb.show();
Steps to Reproduce
1. Create a classic mobile application. 2. Apply test code to app.js file. 3. Deploy app to Windows 10 phone device / emualator. 4. Launch appActual Result
_see windows phone screenshot_ Progress Bar is aligned to the left, and does not fill the width of the window.Expected Result
_see iPhone screenshot_ Progress Bar should fill the entire width of the window.Attachments
File | Date | Size |
---|---|---|
pb_Fill_iOS.png | 2016-04-27T21:07:16.000+0000 | 26989 |
pb_Fill_Windows.PNG | 2016-04-27T21:03:53.000+0000 | 18599 |
https://github.com/appcelerator/titanium_mobile_windows/pull/683
Verified as fixed, ProgressBar Ti.UI.FILL now correctly stretches to fit the entire screen, both Vertically and Horizontally. Tested on: Windows 10 Pro Windows Phone 10.0 (Microsoft Lumia 640 LTE) Appc Studio: 4.7.0.201606220541 Ti SDK: 5.4.0.v20160627224205 Appc NPM: 4.2.7-2 Appc Core: 5.4.0-20 Node: v4.4.4 *Closing Ticket.*