[TIMOB-20404] iOS: ProgressBar gets clipped in parent with height Ti.UI.SIZE
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | Medium | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2017-11-08T14:07:18.000+0000 | 
| Affected Version/s | Release 5.2.0 | 
| Fix Version/s | Release 7.0.0 | 
| Components | iOS | 
| Labels | progressbar, reprod | 
| Reporter | Fokke Zandbergen | 
| Assignee | Vijay Singh | 
| Created | 2016-02-15T13:31:55.000+0000 | 
| Updated | 2017-11-09T19:55:24.000+0000 | 
Description
	While building samples I noticed that if a ProgressBar is wrapped in a parent that has its height set to 
Ti.UI.SIZE it will be clipped as the following code and attached screenshot shows.
var win = Ti.UI.createWindow({
  backgroundColor: 'white'
});
win.add(Ti.UI.createProgressBar({
  width: 250,
  value: 0.5,
  message: 'Half way there'
}));
var view = Ti.UI.createView({
  top: 100,
  height: Ti.UI.SIZE,
  backgroundColor: '#eee'
});
win.add(view);
view.add(Ti.UI.createProgressBar({
  width: 250,
  value: 0.5,
  message: 'Half way there'
}));
win.open();
Attachments
| File | Date | Size | 
|---|---|---|
| Simulator Screen Shot 15 Feb 2016 14.31.49.png | 2016-02-15T13:31:52.000+0000 | 21768 | 
I am able to reproduce this issue with the following environment; iPhone 7 (10.2) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170623141152 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131
PR: https://github.com/appcelerator/titanium_mobile/pull/9273
Verified in SDK build 7.0.0.v20171108185342