Widgets 2.0 Open-Source

When I was testing out some things using the open source library. I have something like this:

-rwxr-xr-x   1 rmiracle  staff    339 May 19 20:59 config.lua drwxr-xr-x   5 rmiracle  staff    170 May 19 21:10 images -rw-r--r--   1 rmiracle  staff   2421 Jun 12 21:58 main.lua drwxr-xr-x  16 rmiracle  staff    544 May 20 21:05 widgetLibrary -rwxr-xr-x@  1 rmiracle  staff  16388 May 18 04:14 widgetx.lua

I move the widget.lua out of that folder and into the folder with my main.lua (and renamed it widgetx.lua).

That way my code can still do:

local widget = require(“widgetx”)

or

local widget = require(“widget”)

and not have to mess around with my requires other than changing the file name.  Though it seems if you left the files where they are, you should:

 

local widget = require(“widgetLibrary.widget”)

I would like to follow this forum!   

Well now you’re following this particular topic.  If you want to follow the whole widgets forum, you can click on “Widgets” in the breadcrumbs at the top and there should be a “Follow this forum” button and then you will be notified whenever someone posts to the widget forum.

Reposting this here in hopes that someone will see it easier:

Corona Team,

 

I downloaded and installed the latest public release to start the migration over to the Graphics 2.0 style of doing things. 

 

I ran into some problems with the Widgets 2.0 library.

https://github.com/coronalabs/framework-widgets-legacy/blob/master/widgetLibrary/widget_button.lua#L1373 causes Corona to fail because it uses the legacy setReferencePoint functions that are now deprecated.  

 

Are you guys planning on updating the Widgets 2.0 framework on github with the new Graphics 2.0 changes ?

 

Thanks,

-Justin Lindsey

I think this question was asked on another subforum-topic.  Public build 2076 has the updated widgets for Graphics 2.0.  We have not had a chance to  update the github repository yet. I’ve reminded the engineers.

Rob

I would like to follow this forum!   

Well now you’re following this particular topic.  If you want to follow the whole widgets forum, you can click on “Widgets” in the breadcrumbs at the top and there should be a “Follow this forum” button and then you will be notified whenever someone posts to the widget forum.

Reposting this here in hopes that someone will see it easier:

Corona Team,

 

I downloaded and installed the latest public release to start the migration over to the Graphics 2.0 style of doing things. 

 

I ran into some problems with the Widgets 2.0 library.

https://github.com/coronalabs/framework-widgets-legacy/blob/master/widgetLibrary/widget_button.lua#L1373 causes Corona to fail because it uses the legacy setReferencePoint functions that are now deprecated.  

 

Are you guys planning on updating the Widgets 2.0 framework on github with the new Graphics 2.0 changes ?

 

Thanks,

-Justin Lindsey

I think this question was asked on another subforum-topic.  Public build 2076 has the updated widgets for Graphics 2.0.  We have not had a chance to  update the github repository yet. I’ve reminded the engineers.

Rob

When are you going to update the GitHub  for this ?

Even after the last round of “fixes” you released, there are still some serious bugs. I thought “ow well” I will just have to fix them myself, but latest version is not here

Yes please…we need the latest on github so we fully understand what we’re overriding…

The scrollView “bounce” effect is not calling the listener so my placement/movement of native text fields gets totally messed up when the bounce happens…

Has anyone else solved this yet???

Edit:

I should also mention that the scrollToPosition() method does not seem to call the listener either…if you guys are fixing this, please fix both callbacks…

Still working on it.

Rob

We are working on it.

Please please please can you update the github copy of the widgets please.

If not, can you please explain why it is so difficult to do this ?

I see that the code on GitHub has now been updated. Thanks Alex!

When are you going to update the GitHub  for this ?

Even after the last round of “fixes” you released, there are still some serious bugs. I thought “ow well” I will just have to fix them myself, but latest version is not here

Yes please…we need the latest on github so we fully understand what we’re overriding…

The scrollView “bounce” effect is not calling the listener so my placement/movement of native text fields gets totally messed up when the bounce happens…

Has anyone else solved this yet???

Edit:

I should also mention that the scrollToPosition() method does not seem to call the listener either…if you guys are fixing this, please fix both callbacks…

Still working on it.

Rob

We are working on it.

Please please please can you update the github copy of the widgets please.

If not, can you please explain why it is so difficult to do this ?