Problem Description
When you use a Date Picker with TYPE_TIME set, it will look really small. Even if you set the font size.
Steps to reproduce
1. Create a new mobile project (Classic Titanium)
2. Paste the testcase into app.js:
Ti.UI.backgroundColor = 'white';
var win = Ti.UI.createWindow({
exitOnClose: true,
layout: 'vertical'
});
var picker = Ti.UI.createPicker({
type:Ti.UI.PICKER_TYPE_TIME,
minDate:new Date(2009,0,1),
maxDate:new Date(2014,11,31),
value:new Date(2014,3,12),
font: {
fontWeight: 'bold',
fontSize:32,
},
top:50,
width: Ti.UI.FILL,
useSpinner: true,
});
win.add(picker);
win.open();
Issue reproduces Titanium SDK version 3.4.0 master, 3.3.0.GA Titanium Studio, build: 3.3.0.201407100905 Titanium Command-Line Interface CLI version 3.3.0, Android device : Motorola Moto G, Android version : 4.4.4
master PR: https://github.com/appcelerator/titanium_mobile/pull/6294 3.4.X PR: https://github.com/appcelerator/titanium_mobile/pull/6315
The picker is shown with appropriate size Verified on: SDK: 3.5.0.v20141124155715 Studio: 3.4.1.201410281743 CLI: 3.4.1 Alloy: 1.5.1 Device: Samsung Galaxy S5 (v4.4.2)