widget.pickerWheel is horrible

I am trying to use the pickerWheel and looks like there are tons of issues. It is as good as not having this widget at all.

  1. The moment I change the orientation in build.settings then everything gets messed up.
  2. I cannot change any of the default settings for any device. Even if I use the default settings and try to scale down the picker wheel it does not work.
  3. If I change the font then things are again messed up when it comes to the soft landing aspect of it.

With these many bugs this feature is an insult to the developer community. I would strongly suggest the Corona team to either fix these issues or remove this picker wheel and release it again in a future build in a way that works correctly and manageable. [import]uid: 103483 topic_id: 35446 reply_id: 335446[/import]

I believe the widget library is being completely re-written and should be available soon’ish… [import]uid: 33275 topic_id: 35446 reply_id: 140881[/import]

@shivapp

  1. Can you elaborate a little ? Change to landscape or portrait?
  2. What default settings specifically? The PickerWheel widget doesn’t support scaling at present, we recommend sizing your pickerwheel assets to the desired size rather than attempting to manipulate it’s size at runtime.
  3. That shouldn’t happen, I will investigate that.

As Sega boy has mentioned we are in the process of completely re-writing the widget library from the ground up. I will run some tests to ensure these issues don’t affect the new picker wheel.

Thanks
[import]uid: 84637 topic_id: 35446 reply_id: 141069[/import]

  1. When the picker is in portrait mode then it works fine. However when I change my default.settings to support landscapeLeft then the picker wheel gets distorted. The sample code also behaves the same way.

  2. I tried both sizing and scaling. In both the cases on the simulator the pickerwheel was not looking good. The gray side bars get really extended and the middle white area becomes small. This causes the soft landing to not work at all.

I will eagerly wait for the rewrite.

Thanks. [import]uid: 103483 topic_id: 35446 reply_id: 141077[/import]

@shivapp,

Thanks for the information, I will check the things you have mentioned with the new pickerwheel and ensure these bugs don’t exist. [import]uid: 84637 topic_id: 35446 reply_id: 141078[/import]

I have one more request. It would be great if setting a theme is not mandatory for the pickerwheel. I would love to create a theme if there are multiple instances of it getting created. However for simple apps that need only one instance then creating a theme file and doing it might not be needed.

Thanks. [import]uid: 103483 topic_id: 35446 reply_id: 141082[/import]

I believe the widget library is being completely re-written and should be available soon’ish… [import]uid: 33275 topic_id: 35446 reply_id: 140881[/import]

@shivapp

  1. Can you elaborate a little ? Change to landscape or portrait?
  2. What default settings specifically? The PickerWheel widget doesn’t support scaling at present, we recommend sizing your pickerwheel assets to the desired size rather than attempting to manipulate it’s size at runtime.
  3. That shouldn’t happen, I will investigate that.

As Sega boy has mentioned we are in the process of completely re-writing the widget library from the ground up. I will run some tests to ensure these issues don’t affect the new picker wheel.

Thanks
[import]uid: 84637 topic_id: 35446 reply_id: 141069[/import]

  1. When the picker is in portrait mode then it works fine. However when I change my default.settings to support landscapeLeft then the picker wheel gets distorted. The sample code also behaves the same way.

  2. I tried both sizing and scaling. In both the cases on the simulator the pickerwheel was not looking good. The gray side bars get really extended and the middle white area becomes small. This causes the soft landing to not work at all.

I will eagerly wait for the rewrite.

Thanks. [import]uid: 103483 topic_id: 35446 reply_id: 141077[/import]

@shivapp,

Thanks for the information, I will check the things you have mentioned with the new pickerwheel and ensure these bugs don’t exist. [import]uid: 84637 topic_id: 35446 reply_id: 141078[/import]

I have one more request. It would be great if setting a theme is not mandatory for the pickerwheel. I would love to create a theme if there are multiple instances of it getting created. However for simple apps that need only one instance then creating a theme file and doing it might not be needed.

Thanks. [import]uid: 103483 topic_id: 35446 reply_id: 141082[/import]

Dear Danny,

I have been going through the pickerWheel document (http://docs.coronalabs.com/api/library/widget/newPickerWheel.html) and i don’t understand the “visual customisation” part. You did mention “… we recommend sizing yourpickerwheel__ assets to the desired size rather than attempting to manipulate it’s size at runtime”.

Is there an example of it ?

I am trying to have a custom picker wheel, as the picker wheel looks too big on the iPad. If there is a better way to do this, please advise.

Thanks!

Hi @yosu,

To make the pickerWheel appear differently on iPad vs. iPhone (as in, smaller on the iPad in relation to the content area), you’ll need to conditionally set this up by sensing the device and designing configuring the wheel to be different size. The visual elements of the pickerWheel are, currently, a bit static since it requires a “frame”, a “background”, and a mask for the column motion. This varies from, say, the 9-slice button which can be more easily resized.

I should have an updated guide prepared on visually customizing this widget in the next few weeks.

Best regards,

Brent Sorrentino

Brent are there any efforts being made to change the look of the Picker Wheel to the iOS7 style?

We will have an iOS7 skin.  No ETA on it yet though.

Dear Danny,

I have been going through the pickerWheel document (http://docs.coronalabs.com/api/library/widget/newPickerWheel.html) and i don’t understand the “visual customisation” part. You did mention “… we recommend sizing yourpickerwheel__ assets to the desired size rather than attempting to manipulate it’s size at runtime”.

Is there an example of it ?

I am trying to have a custom picker wheel, as the picker wheel looks too big on the iPad. If there is a better way to do this, please advise.

Thanks!

Hi @yosu,

To make the pickerWheel appear differently on iPad vs. iPhone (as in, smaller on the iPad in relation to the content area), you’ll need to conditionally set this up by sensing the device and designing configuring the wheel to be different size. The visual elements of the pickerWheel are, currently, a bit static since it requires a “frame”, a “background”, and a mask for the column motion. This varies from, say, the 9-slice button which can be more easily resized.

I should have an updated guide prepared on visually customizing this widget in the next few weeks.

Best regards,

Brent Sorrentino

Brent are there any efforts being made to change the look of the Picker Wheel to the iOS7 style?

We will have an iOS7 skin.  No ETA on it yet though.