Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
TextField alignment issue — Gideros Forum

TextField alignment issue

I'm having an issue with aligning a TextField in my current project...
  y += 50
  text = TextField.new(SMALLFONT, '(C) 2018 ANTIX DEVELOPMENT')
  text:setLayout({w = WIDTH, flags = FontBase.TLF_CENTER})
--  text:setX(-16)
The code above yields the following result..

You can see the text on the last line (and the rest I suppose) is not aligned in the center. If I setX(-16) it's okay but by default it should be in the middle right?
656 x 1029 - 39K
+1 -1 (+1 / -0 )Share on Facebook


Sign In or Register to comment.