Can you post a screen shot and your code creating the widget?
the code is very simple, and it displays wrongly, seems that the additional space is added to the left of the column, instead of scaling the column itself.
self.\_categoryPicker = widget.newPickerWheel{ id="pickerTimer", top = 600, left = 80, backgroundWidth = 480, overlayFrameWidth = 480, columns = self:getCategoryData(), fontSize=26, } function MyClass:getCategoryData() local data = {} data[1] = {} local d1 = {} for i, v in pairs( stringTable) do table.insert(d1, v) end data[1].labels = d1 data[1].align = "center" data[1].startIndex = 1 return data end
I don’t see why…
picker seems so simple…
but it’s so difficult to fit all device size…
picker = widget.newPickerWheel{ top=display.contentHeight, backgroundWidth = display.contentWidth, backgroundHeight = 200, overlayFrameWidth = display.contentWidth, overlayFrameHeight = 200, width = display.contentWidth, height = 200, fontSize = 12, columns=columnData, }
I got same screen as maxtrix2000
and it can’t drag correctly.
Here’s what it looks like btw.
I don’t see why…
picker seems so simple…
but it’s so difficult to fit all device size…
picker = widget.newPickerWheel{ top=display.contentHeight, backgroundWidth = display.contentWidth, backgroundHeight = 200, overlayFrameWidth = display.contentWidth, overlayFrameHeight = 200, width = display.contentWidth, height = 200, fontSize = 12, columns=columnData, }
I got same screen as maxtrix2000
and it can’t drag correctly.
I have the same issue as maxtrix2000 as well…any update on this? My picker is also padding the left side of the content exactly as in the screenshot to the left.
Here’s my code that’s working for me:
[lua]
columnData[1] = {}
columnData[1].labels = messagelist
columnData[1].alignment = “left”
columnData[1].width = 148
columnData[1].startIndex = 1
columnData[2] = {}
columnData[2].labels = contactlist
columnData[2].alighment = “left”
columnData[2].width = 148
columnData[2].startIndex = 1
– create the actual picker widget with column data
local picker = widget.newPickerWheel{
id = “msgPicker”,
font = “Helvetica-Bold”,
fontSize = 18,
top = 64 + display.statusBarHeight + 20 + isTallPad,
columns = columnData
}
group:insert(picker)
[/lua]
Have you tried with more width? let’s say 512 total width?
The issue is not getting it to work…the issue (as maxtrix2000 said) is widening it. In my case, I’m trying to display the picker the full width of the screen. Any time I try to do that, I get funkyness…the picker appears as normal, but the text window (the scrolling picker bits) is arbitrarily cut off in the middle. So only half of it shows up. Here is a screen shot -
I have the same issue as maxtrix2000 as well…any update on this? My picker is also padding the left side of the content exactly as in the screenshot to the left.
Here’s my code that’s working for me:
[lua]
columnData[1] = {}
columnData[1].labels = messagelist
columnData[1].alignment = “left”
columnData[1].width = 148
columnData[1].startIndex = 1
columnData[2] = {}
columnData[2].labels = contactlist
columnData[2].alighment = “left”
columnData[2].width = 148
columnData[2].startIndex = 1
– create the actual picker widget with column data
local picker = widget.newPickerWheel{
id = “msgPicker”,
font = “Helvetica-Bold”,
fontSize = 18,
top = 64 + display.statusBarHeight + 20 + isTallPad,
columns = columnData
}
group:insert(picker)
[/lua]
No update on this? Would be nice to know if there is a problem or if we’re doing something wrong. Help?
Have you tried with more width? let’s say 512 total width?
The issue is not getting it to work…the issue (as maxtrix2000 said) is widening it. In my case, I’m trying to display the picker the full width of the screen. Any time I try to do that, I get funkyness…the picker appears as normal, but the text window (the scrolling picker bits) is arbitrarily cut off in the middle. So only half of it shows up. Here is a screen shot -
This is what slows me down with corrona - it’s not that it’s not trying to be great, but it’s falling prey to ‘death by a million papercuts’ with the pervasive amount of quirks and missing documentation.99.9% of it works so good, you ignore the problems…but when you NEED the 0.1% stuff to work, then you are up against a brick wall…i have the same problem with this widget. Actually all the widgets drive me bonkers…
No update on this? Would be nice to know if there is a problem or if we’re doing something wrong. Help?
This is what slows me down with corrona - it’s not that it’s not trying to be great, but it’s falling prey to ‘death by a million papercuts’ with the pervasive amount of quirks and missing documentation.99.9% of it works so good, you ignore the problems…but when you NEED the 0.1% stuff to work, then you are up against a brick wall…i have the same problem with this widget. Actually all the widgets drive me bonkers…
I have problems to control de limits for the drag & drop. Sometimes there is a big space on the upper side of a column, sometimes bounces and can’t select well. Thanks
The documentation on the pickerWheel states that it does not support scaling and I don’t see any controls to manage it’s width. Yes you can set the skin to be bigger, but I don’t see where that controls the widget size. I looked around my iPad to try and find pickerWheels that were bigger than 320 wide and I couldn’t find any. This may be by design to mirror what the native UI does. I tried to go into XCode and use a pickerWheel that wasn’t 320 wide and I couldn’t get it to work (Not a strong suit of mine in any stretch).
I have problems to control de limits for the drag & drop. Sometimes there is a big space on the upper side of a column, sometimes bounces and can’t select well. Thanks