ui.label loses alignment / position when rotated

This code will demonstrate the bug perfectly. Just sit back and watch the square rotate. The Labels lose their internal coordinates maybe, like the buttons do.

Not working in 1.1.3
local ui = require(“ui”)

– Interface
interfaceGroup = display.newGroup()
interfaceGroup.xReference = 160
interfaceGroup.yReference = 240

local rect1 = display.newRect( 30, 30, 260, 195)
rect1:setFillColor(50,50,50)
interfaceGroup:insert(rect1)

– Debug
local debugText = 1
if (debugText == 1) then
debugText1 = ui.newLabel{bounds = { 30, 207, 0, 0 },text = “Test Line 1”,font = “Helvetica”,textColor = { 255, 255, 255, 255 },size = 13,align = “left”}
debugText2 = ui.newLabel{bounds = { 30, 192, 0, 0 },text = “Test Line 2”,font = “Helvetica”,textColor = { 255, 255, 255, 255 },size = 13,align = “left”}
debugText3 = ui.newLabel{bounds = { 30, 177, 0, 0 },text = “Test Line 3”,font = “Helvetica”,textColor = { 255, 255, 255, 255 },size = 13,align = “left”}
end
local function debugThis(text,place)
if (debugText == 1) then
if (place == 1) then debugText1:setText(text) end
if (place == 2) then debugText2:setText(text) end
if (place == 3) then debugText3:setText(text) end
end
end
interfaceGroup:insert(debugText1)
interfaceGroup:insert(debugText2)
interfaceGroup:insert(debugText3)
masterGroup = display.newGroup()
masterGroup.xReference = 160
masterGroup.yReference = 160
masterGroup:insert(interfaceGroup)

transition.to(masterGroup, { rotation=90, time=400, delay=2000 } )
transition.to(masterGroup, { rotation=180, time=400, delay=4000 } )
transition.to(masterGroup, { rotation=270, time=400, delay=6000 } )
transition.to(masterGroup, { rotation=360, time=400, delay=8000 } )

local function runtimeLoop(event)
debugThis(“Test Line 1”…system.getTimer(),1)
debugThis(“Test Line 2”…system.getTimer(),2)
debugThis(“Test Line 3”…system.getTimer(),3)
end
Runtime:addEventListener(“enterFrame”, runtimeLoop); [import]uid: 5354 topic_id: 688 reply_id: 300688[/import]

(Now merged with this followup thread: http://developer.anscamobile.com/forum/2010/04/17/uilabel-loses-alignment-position-when-rotated ) [import]uid: 3007 topic_id: 688 reply_id: 1836[/import]