[TIMOB-5681] MobileWeb: Method add works incorrectly with imageView
| GitHub Issue | n/a |
|---|---|
| Type | Sub-task |
| Priority | Low |
| Status | Reopened |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.7.2 |
| Components | MobileWeb |
| Labels | n/a |
| Reporter | Misha Vasko |
| Assignee | Chris Barber |
| Created | 2011-06-01T02:33:13.000+0000 |
| Updated | 2018-04-04T23:57:08.000+0000 |
Description
When adding a label to imageView by method add the label does not appear. The label present in the code of imageView element but i can't see it in a browser window.
var win = Ti.UI.currentWindow;
var imageView = Ti.UI.createImageView({
top: 10,
left: 10,
width: 200,
height: 50,
});
win.add(imageView);
var l1 = Ti.UI.createLabel ({
text: 'You add me!',
backgroundColor: 'red',
width: 40,
height: 20,
left: 30,
top: 5
});
imageView.add(l1);
No comments