Looks really small on modern phones. Is there a way to make it a bit taller and wider? I would like to use a larger font.
I see it’s open source, looks like there are loads of undocumented options … but… any hints?
Looks really small on modern phones. Is there a way to make it a bit taller and wider? I would like to use a larger font.
I see it’s open source, looks like there are loads of undocumented options … but… any hints?
Didn’t test it, but it seems like the option “overlayFrameWidth” could do the trick.
But even if it works it would mean that you have to support the new width with graphics in the right size.
(like it could be seen in the documentation https://docs.coronalabs.com/api/library/widget/newPickerWheel.html )
The default pickerWheel is based on a content area in your config.lua that is 320x480 in size. Apple still wants to operate in this “point” environment. Android devices are generally 160ppi and a typical 320px area is a 2" device which is most phones. Since things like transitions and physics all run using floating point numbers for your x and y, there isn’t much of a reason to use a larger content area in your config.lua.
This is a known limitation of this widget and several others. We hopefully will get a scalable pickerWheel out soon.
Rob
Didn’t test it, but it seems like the option “overlayFrameWidth” could do the trick.
But even if it works it would mean that you have to support the new width with graphics in the right size.
(like it could be seen in the documentation https://docs.coronalabs.com/api/library/widget/newPickerWheel.html )
The default pickerWheel is based on a content area in your config.lua that is 320x480 in size. Apple still wants to operate in this “point” environment. Android devices are generally 160ppi and a typical 320px area is a 2" device which is most phones. Since things like transitions and physics all run using floating point numbers for your x and y, there isn’t much of a reason to use a larger content area in your config.lua.
This is a known limitation of this widget and several others. We hopefully will get a scalable pickerWheel out soon.
Rob
Good afternoon … Just wondering if there was any update on being able to scale PickerWheels in Corona Sdk
This has not been added, you can download and modfiy the widget framework and add this your selfhttps://github.com/coronalabs/framework-widget
To those who find this thread, resizable picker wheels are now integrated into the Corona core. Please see here for details:
https://coronalabs.com/blog/2016/11/17/widget-updates-resizable-picker-wheels-and-more/
Best regards,
Brent
Good afternoon … Just wondering if there was any update on being able to scale PickerWheels in Corona Sdk
This has not been added, you can download and modfiy the widget framework and add this your selfhttps://github.com/coronalabs/framework-widget
To those who find this thread, resizable picker wheels are now integrated into the Corona core. Please see here for details:
https://coronalabs.com/blog/2016/11/17/widget-updates-resizable-picker-wheels-and-more/
Best regards,
Brent