I thought this would've been straightforward to so but unfortunately I can't seem to get it to work. I'm adding two or more bitmaps to one sprite like the code below. But only the first gets centered properly. Not the subsequent ones. Why is that. What am I missing here?
Why isn't the lock bitmap centered like the btn Bitmap is?
local Button1 = Sprite.new()
local btn_p = mydata.Base:getTextureRegion("Level_Btn.png")
local btn = Bitmap.new(btn_p)
local lock = mydata.Base:getTextureRegion("gameBLock.png") ,
local lock = Bitmap.new(lock)
<span class="sy0"><</span>img src<span class="sy0">=</span><span class="st0">"http://forum.giderosmobile.com/uploads/editor/1m/gwjsu82y515o.png"</span> alt<span class="sy0">=</span><span class="st0">""</span> <span class="sy0">/></span>