Widget 2.0 Buttons Over File and Helvetica Font

When using Widgets 2.0 Buttons I get 2 strange behaviors. If I specify a defaultFile image to use for my button Corona throws out errors if I do not give it an overFile also - something I do not want for my specific implementation.( I Know I could use the same path as defaultFile but that is just a workaround and not a fix).

Also, whenever I load up ANY button I get printouts in my console that Helvetica - Bold font is not available even though I am not using any labels on my buttons… removing the button code fixes this issue but I need my buttons and the printout is VERY annoying when I have 10 buttons. [import]uid: 164950 topic_id: 36306 reply_id: 336306[/import]

Hey intoitgames.

When developing the widgets I intended to allow you only to specify a defaultFile and ignore the overFile parameter if you wish.

Sounds like something went wrong.

Regarding the helvetica issue, that sounds like a unusual bug, relating to widgets perhaps.

Would be so kind as to file a bug repot for these issues here? https://developer.coronalabs.com/content/bug-submission

I am aiming to get all of the reported issues resolved this week and if people report the bugs (via the above link) then I can prioritise them and ensure I can keep track of them.

Thanks [import]uid: 84637 topic_id: 36306 reply_id: 144255[/import]

I can confirm what intoitgames is reporting.

PS the font issue is on windows simulator.

I also don’t need overFile or labels for my buttons.

Also Danny is there any way to get a button not to return true?

I’ve tried adding return false but still getting a return true.

Let me try and explain my situation.

I have loads of buttons on a scrollView. I want to pick up the button.id on the began phase yet still be able to move the scrollView, which is possible just using images by not returning true on the button listener.

I can then test the scrollView to see if it’s moved more than 5 points. If it moves less than 5 then I fire the button, else just scroll.

Everything is working great doing this using just images with eventListeners, though I have 300 listeners now, so would rather use buttons. [import]uid: 179960 topic_id: 36306 reply_id: 144268[/import]

Update: This issue has been fixed ( the overFile error ) and the fix will be available in the next daily build.

@Icyspark, I will look into it.

Thanks for all your feedback so far. [import]uid: 84637 topic_id: 36306 reply_id: 144317[/import]

Hey intoitgames.

When developing the widgets I intended to allow you only to specify a defaultFile and ignore the overFile parameter if you wish.

Sounds like something went wrong.

Regarding the helvetica issue, that sounds like a unusual bug, relating to widgets perhaps.

Would be so kind as to file a bug repot for these issues here? https://developer.coronalabs.com/content/bug-submission

I am aiming to get all of the reported issues resolved this week and if people report the bugs (via the above link) then I can prioritise them and ensure I can keep track of them.

Thanks [import]uid: 84637 topic_id: 36306 reply_id: 144255[/import]

I can confirm what intoitgames is reporting.

PS the font issue is on windows simulator.

I also don’t need overFile or labels for my buttons.

Also Danny is there any way to get a button not to return true?

I’ve tried adding return false but still getting a return true.

Let me try and explain my situation.

I have loads of buttons on a scrollView. I want to pick up the button.id on the began phase yet still be able to move the scrollView, which is possible just using images by not returning true on the button listener.

I can then test the scrollView to see if it’s moved more than 5 points. If it moves less than 5 then I fire the button, else just scroll.

Everything is working great doing this using just images with eventListeners, though I have 300 listeners now, so would rather use buttons. [import]uid: 179960 topic_id: 36306 reply_id: 144268[/import]

Update: This issue has been fixed ( the overFile error ) and the fix will be available in the next daily build.

@Icyspark, I will look into it.

Thanks for all your feedback so far. [import]uid: 84637 topic_id: 36306 reply_id: 144317[/import]

Hey intoitgames.

When developing the widgets I intended to allow you only to specify a defaultFile and ignore the overFile parameter if you wish.

Sounds like something went wrong.

Regarding the helvetica issue, that sounds like a unusual bug, relating to widgets perhaps.

Would be so kind as to file a bug repot for these issues here? https://developer.coronalabs.com/content/bug-submission

I am aiming to get all of the reported issues resolved this week and if people report the bugs (via the above link) then I can prioritise them and ensure I can keep track of them.

Thanks [import]uid: 84637 topic_id: 36306 reply_id: 144255[/import]

I can confirm what intoitgames is reporting.

PS the font issue is on windows simulator.

I also don’t need overFile or labels for my buttons.

Also Danny is there any way to get a button not to return true?

I’ve tried adding return false but still getting a return true.

Let me try and explain my situation.

I have loads of buttons on a scrollView. I want to pick up the button.id on the began phase yet still be able to move the scrollView, which is possible just using images by not returning true on the button listener.

I can then test the scrollView to see if it’s moved more than 5 points. If it moves less than 5 then I fire the button, else just scroll.

Everything is working great doing this using just images with eventListeners, though I have 300 listeners now, so would rather use buttons. [import]uid: 179960 topic_id: 36306 reply_id: 144268[/import]

Update: This issue has been fixed ( the overFile error ) and the fix will be available in the next daily build.

@Icyspark, I will look into it.

Thanks for all your feedback so far. [import]uid: 84637 topic_id: 36306 reply_id: 144317[/import]

Hey intoitgames.

When developing the widgets I intended to allow you only to specify a defaultFile and ignore the overFile parameter if you wish.

Sounds like something went wrong.

Regarding the helvetica issue, that sounds like a unusual bug, relating to widgets perhaps.

Would be so kind as to file a bug repot for these issues here? https://developer.coronalabs.com/content/bug-submission

I am aiming to get all of the reported issues resolved this week and if people report the bugs (via the above link) then I can prioritise them and ensure I can keep track of them.

Thanks [import]uid: 84637 topic_id: 36306 reply_id: 144255[/import]

I can confirm what intoitgames is reporting.

PS the font issue is on windows simulator.

I also don’t need overFile or labels for my buttons.

Also Danny is there any way to get a button not to return true?

I’ve tried adding return false but still getting a return true.

Let me try and explain my situation.

I have loads of buttons on a scrollView. I want to pick up the button.id on the began phase yet still be able to move the scrollView, which is possible just using images by not returning true on the button listener.

I can then test the scrollView to see if it’s moved more than 5 points. If it moves less than 5 then I fire the button, else just scroll.

Everything is working great doing this using just images with eventListeners, though I have 300 listeners now, so would rather use buttons. [import]uid: 179960 topic_id: 36306 reply_id: 144268[/import]

Update: This issue has been fixed ( the overFile error ) and the fix will be available in the next daily build.

@Icyspark, I will look into it.

Thanks for all your feedback so far. [import]uid: 84637 topic_id: 36306 reply_id: 144317[/import]