Hi - I reported this as a bug (but not done that before so want to make sure it got logged):
Using build 725, I noticed that you can’t change the .text field of a display.newRetinaText object and have the text update, if you’re using the widget library (even just requiring the library causes the bug). It works OK on iPhone sim, but not iPhone 4 sim, iPad sim, or any of the Android sims.
local widget = require("widget")
d = display.newRetinaText("Once upon a time there was a quick brown fox that jumped over a lazy dog", 20,20, native.systemfont, 12 )
timer.performWithDelay(5000, function() d.text="Lorem ipsum blah blah" end)
-- you can delete this part, and it still doesn't work on anything but an iPhone
local function testSliderListener(event)
d.text = "Value is:"..event.value
end
local testSlider = widget.newSlider{
top = 100,
left = 20,
width = 130,
listener = testSliderListener
}
--
I thought it might be something to do with the slider, but actually even the simple timer text change above won’t work on anything but the iPhone sim.
Thanks! [import]uid: 93610 topic_id: 20670 reply_id: 320670[/import]