Picker Wheel Widget causing all text in app to display wrong!

Hi,

I’ve got an issue with corona’s widget library. Whenever it is initialised it causes display.newText or display.newRetinaText to display at different sizes or in different fonts with pretty much no consistency.

This is really a show stopping bug for me. I’m writing an app for a big client and if i cant get this working i’m going to have to look for other options.

I’ve tried unrequiring the widget library but no luck so far.

Anyone know of a fix for this??

Thanks! [import]uid: 93577 topic_id: 16745 reply_id: 316745[/import]

What is the # for the bug report? [import]uid: 52491 topic_id: 16745 reply_id: 62761[/import]

I had the same problem with the slider widget. I didn’t really look deeper into the problem, so I cant offer a solution. Instead I worked around it by building my own slider from scratch.

Are you using director in your app? For me, the problem occurred with director after a second scene change, where suddenly all the fonts looked twice as big. [import]uid: 33608 topic_id: 16745 reply_id: 62783[/import]

Hi Peach, the bug report number is 8870.

I think the pickerwheel uses some modified display.newText function for retina displays which once called replaces the standard text function.

It’s only a problem because i use a picker for an age verification screen which is displayed when the app is opened for the first time. I can sort out single line text but multiline just doesn’t seem to respond to anything (different sizes or fonts)

I dont know what else to try. I’ve got a terms and conditions screen and multiline text is the only way i can display it properly (its almost 300 lines). I’ve tried images but they take up too much space.

[import]uid: 93577 topic_id: 16745 reply_id: 62833[/import]

You could use a HTML popup? (Look at the Tilt Monster code.)

Thanks for checking back in with the # :slight_smile: [import]uid: 52491 topic_id: 16745 reply_id: 63152[/import]

Hi Peach, Its OK the new build seems to have fixed all the text problems :smiley:

There is a small issue though. I’m using a standard widget.newPickerWheel but it doesn’t seem to ‘snap’ to the right place (in other words it wont stop with each line central in the selection box). I think its because selectionHeight is wrong but i cant seem to get it right.

Is this just me doing something wrong or has anyone else noticed this on the latest build?

Thanks for your help! [import]uid: 93577 topic_id: 16745 reply_id: 63353[/import]

I just checked the widgetDemo sample app and it’s picker wheel does the same thing. It wont center the lists in the right place.

thanks. [import]uid: 93577 topic_id: 16745 reply_id: 63355[/import]

Read the Docs reference about the new picker (widget library version beta 0.2) and you will get an explanation about the characteristics of this new picker implementation.

Resume: this new library is being developed from scratch by the Corona Team so we will need to be waiting for some updates as well as they do the hard work.

regards, [import]uid: 89165 topic_id: 16745 reply_id: 63358[/import]

I can’t tell you quite where we are at with the Widget side of things right now as it’s not my department, however I believe we have had a bug report due to recent changes. (Daily build related, of course.)

If you’d like to get a bit more info on it, can I encourage you to make a thread in the Corona UI sub-forum, please?

Peach :slight_smile: [import]uid: 52491 topic_id: 16745 reply_id: 63707[/import]