Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
TextWrap word alignment problem - Gideros Forum

TextWrap word alignment problem

emreemre Member
edited August 2013 in Plugins
Hii, I have problem on TextWrap plugin,
On some words horizontal alignments are broken.
Please look at the attachment.
I could not upload the font used. But I tried another fonts also, same problem exist.

Thanks for your advise.
	local layer = Popup.new({easing = conf.easing})
	layer:setFillStyle(Shape.SOLID, 0x0000ff, 0.5)
	layer:setLineStyle(5, 0x000000)
	layer:setPosition(conf.width/2, conf.height/2)
	layer:setScale(0)
	self:addChild(layer)
...
	local helpDesc = TextWrap.new("Lorem ipsum a dolor sit amet, consectetur adipiscing elit. Morbi ultrices varius tortor. Donec dui nunc, mollis eu dignissim ut, vestibulum vel nunc. Etiam odio est, facilisis imperdiet lacus ut, suscipit bibendum tellus. Ut bibendum elementum a tortor molestie cursus. Lorem a ipsum dolor sit amet, consectetur adipiscing elit. Nullam ut elementum arcu. Fusce mollis eros sapien, sed dictum libero dapibus eget. In bibendum eleifend convallis. Nulla facilisi. ", textWidth, "justify", 5, conf.descriptionFont)
	helpDesc:setPosition(-layer:getWidth()/2 + 30, -layer:getHeight()/2 + 150)
	helpDesc:setTextColor(0xffffff)
	layer:addChild(helpDesc)
problem.png
485 x 806 - 160K

Comments

Sign In or Register to comment.