[TIMOB-5649] MobileWeb: Impossible to change any properties of pickerRow
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-05-27T01:29:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | n/a |
Reporter | Misha Vasko |
Assignee | Maxim Negadaylov |
Created | 2011-05-26T07:39:58.000+0000 |
Updated | 2017-03-09T20:07:32.000+0000 |
Description
Properties of pickerRow object such as fontSize,fontStyle,backgroundColor and other do no work.
var win = Ti.UI.currentWindow;
var picker = Ti.UI.createPicker({
top: 30,
left: 100
});
win.add(picker);
p1 = Ti.UI.createPickerRow({title: 'Option1'});
p2 = Ti.UI.createPickerRow({title: 'Option2'});
picker.add(p1);
picker.add(p2);
var but = Ti.UI.createButton({
title: 'hide'
});
win.add(but);
but.addEventListener('click', function(){
p1.fontStyle = 'italic';
p1.fontWeight = 'bold';
p1.fontSize = 25;
p1.backgroundColor = 'red';
});
Closing ticket as fixed.