[TIMOB-2105] Android: PickerRow does not respect fontSize and height (and possibly other properties also)
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2014-03-31T22:08:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.3.0 |
Components | Android |
Labels | android, feature |
Reporter | Ralf Pfeiffer |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:10:34.000+0000 |
Updated | 2017-03-22T18:28:24.000+0000 |
Description
The following code generates a very simple picker. If you change the values of fontSize and/or height, you will see that there is no effect. The same issue may apply to other properties.
Note that the change event is included to show that it works as expected.
win = Ti.UI.currentWindow;
pickerData =
[
{ title:'Option 1' },
{ title:'Option 2' },
{ title:'Option 3' },
{ title:'Option 4' }
];
var pickerRows = [];
for(var i=0, ilen=pickerData.length; i< ilen; i++){
pickerRows.push(Ti.UI.createPickerRow({ title:pickerData[i].title, fontSize:6, height:6 }));
}
var picker = Ti.UI.createPicker();
picker.add(pickerRows);
win.add(picker);
picker.addEventListener('change', function(e){
Ti.API.info('Selected value: '+e.selectedValue);
});
Comments
- Don Thorp 2011-04-15
I'm marking this a feature. Bill please triage this when you get a chance and see what the risk for including in 1.5 is.
- hal 2011-04-15
See also feature request #2116
- ankur garha 2013-05-05 When can we expect this bug to be resolved, because we have been running through the same issue
- Vishal Duggal 2014-03-31 Create pickers with custom views for full customization
- Lee Morris 2017-03-22 Closing ticket as the issue will not fix and with reference to the above comments.