Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20282] Windows: ProgressBar default layout should be SIZE, not FILL

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-02-02T16:39:46.000+0000
Affected Version/sRelease 5.1.0
Fix Version/sRelease 5.3.0
ComponentsWindows
Labelslayout, parity, qe-5.3.0
ReporterKota Iguchi
AssigneeKota Iguchi
Created2016-01-28T05:16:52.000+0000
Updated2016-04-27T21:08:42.000+0000

Description

According to [Transitioning to the New UI Layout System](http://docs.appcelerator.com/platform/latest/#!/guide/Transitioning_to_the_New_UI_Layout_System), the default layout of ProgressBar should be Ti.UI.SIZE, not Ti.UI.FILL. For instance following example should show green background only under the progress bar & text, and it should not fill parent view.
var pb = Ti.UI.createProgressBar({
    min: 0,
    max: 10,
    value: 0,
    color: 'blue',
    backgroundColor: 'green',
    backgroundDisabledColor: 'gray',
    message: 'Downloading 0 of 10'
});
var win = Ti.UI.createWindow();
win.add(pb);
win.open();
pb.show();

Attachments

FileDateSize
pb_Fill_iOS.png2016-04-27T20:42:20.000+000026989
pb_Fill_Windows.PNG2016-04-27T20:43:15.000+000018599

Comments

  1. Kota Iguchi 2016-02-02

    https://github.com/appcelerator/titanium_mobile_windows/pull/545
  2. Harry Bryant 2016-04-27

JSON Source