Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5649] MobileWeb: Impossible to change any properties of pickerRow

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-27T01:29:35.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterMisha Vasko
AssigneeMaxim Negadaylov
Created2011-05-26T07:39:58.000+0000
Updated2017-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';
});

Comments

  1. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source