It looks like you're new here. If you want to get involved, click one of these buttons!
y += 50 text = TextField.new(SMALLFONT, '(C) 2018 ANTIX DEVELOPMENT') text:setLayout({w = WIDTH, flags = FontBase.TLF_CENTER}) text:setY(y) -- text:setX(-16) text:setTextColor(MAINMENUCOLOR) window:addChild(text) |
Likes: vitalitymobile
Comments
text:setX(CX - text:getWidth() * 0.5)
When working with Gideros Font and Textfield, I wish we can have an image like this in the wiki
https://upload.wikimedia.org/wikipedia/commons/3/39/Typography_Line_Terms.svg
And we will explain in Gideros style, for example, what is FontBase.TLF_CENTER affect in this case
https://deluxepixel.com
Likes: antix
Likes: totebo