Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
TextField Y stretch anomaly — Gideros Forum

TextField Y stretch anomaly

HolonistHolonist Member
edited October 2014 in Bugs and issues
if i want to place a textfield right in the center of a shape, i have to do this.

self.textfield:setY(self:getY()+((self:getHeight()+self.textfield:getHeight())/2))

what bugs me here is the second '+' in the formula.
Normally if you position things it has to be minus. So it seems to me that the Texfield.getY() returns the most bottom pixel of the textfield, and it renders the text upwards, while normally everything gets rendered downwards.

Is this intentional?

Comments

Sign In or Register to comment.