Issues with Picker

I find that a number of the properties for the picker are not working including fontcolor, columncolor and even basic things like height. Is this due to updates or am I doing something wrong?

I don't get any errors, the properties just don't adjust at all.

My code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function main()
 
        local widget = require "widget"
 
        local myPicker
 
        local units = {
              data = { "Read Handbook", "Learn Exercises", "Workout", "a", "b", "c" }
           }
 
        fc = {255,0,0,255}
 
        myPicker = widget.newPickerWheel{ width = display.contentWidth, height = 480, fontColor = fc, column1=units }
        myPicker.y = 320
 
end

Also, I don't see any property have the picker bounce like it does in most apps. That is when you get to the end of its selection it can scroll past, but bounces back to the last available option. Instead the picker seems to rotate through and just provide a new list. Also it seems to just go blank after rotating through three times, which then empties the list of options. This does not happen with preset lists, they seem to rotate around forever.

views:1508 update:2011/10/26 9:29:31
corona forums © 2003-2011