I am getting the following error when trying to use the new 2.0 picker wheel:
ERROR: widget.newPickerWheel: theme data file expected, got nil
Below is my code:
local dayNums = {}
for i=1,31 do
dayNums[i] = i
end
local columnData = {
{
alignment = "right",
width = 150,
startIndex = curDate.month,
labels = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" },
},
{
alignment = "center",
width = 55,
startIndex = curDate.day,
labels = dayNums,
},
{
alignment = "left",
width = 14,
startIndex = curDate.month,
labels = { "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013" },
},
}
-- create the actual picker widget with column data
local datepicker = widget.newPickerWheel{
top=dateLbl.y-32,
font=native.systemFont,
left=dateLbl.x-125,
totalWidth=200,
columns=columnData,
}
I am not seeing any errors in my code, is this a bug? [import]uid: 58885 topic_id: 36377 reply_id: 336377[/import]