Hey there,
Do you already have a plan for the integration of graphics 2.0 features like containers in widgets 2.0 ?
I’m looking for a way to create the scrollview masks dynamically.
I modified the widgets myself. It works very flawlessly but when I remove a widget and try to create a new one, the simulator crashes ( most of the time ):
Segmentation fault: 11 “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*
I more or least just replaced line 103 in widget.lua with the following:
local newWidget = display.newContainer(display.contentWidth,display.contentHeight)
later on in widget_scrollview.lua I added the following code after line 75:
scrollView.anchorChildren = false scrollView.width = opt.width scrollView.height = opt.height scrollView.anchorX = 0 scrollView.anchorY = 0 scrollView.x = opt.left scrollView.y = opt.top
it seems like the container widget lacks of the _removeSelf() method? Maybe I’m wrong…
I really need the feature of dynamic masking very urgently…
is there a chance of a quick fix or do I have to wait until graphics 2.0 is out of beta?
any help highly appreciated,
roman