problem with anchox & anchory

Discuss any general programming issues here
Post Reply
xabierpayet
Posts: 160
Joined: Fri Feb 24, 2012 10:34 am

problem with anchox & anchory

Post by xabierpayet » Tue Mar 21, 2017 8:55 pm

is not working anchorx & anchory with text objects? or i need change my old code?

textout(320,240,"session time left: "..minuts2..":"..segons2,{anchorx=0.5,anchory=0.5})

this code don´t is affected by the anchor parameter

User avatar
airsoftsoftwair
Posts: 2482
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: problem with anchox & anchory

Post by airsoftsoftwair » Wed Mar 22, 2017 12:30 am

Hmm, right, looks like a bug. You can use this as a workaround:

Code: Select all

textout(320,240,"session time left: "..minuts2..":"..segons2,{anchorx=0.5,anchory=0.5,align=#CENTER})

User avatar
airsoftsoftwair
Posts: 2482
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: problem with anchox & anchory

Post by airsoftsoftwair » Sun Aug 20, 2017 7:51 pm

Code: Select all

- Fix: When using TextOut() with left alignment and Hollywood deemed the text appropriate for its
  internal fast draw optimization, the AnchorX and AnchorY values weren't applied to the positioning

Post Reply