PDA

View Full Version : Is there a way tp centre IFW2_Text automatically?



AbstractTech3D
02-23-2013, 08:20 PM
Hello

Can anybody tell me of a way to centre IFW2_Text automatically?

The standard positioning system refers to the lower left bounding box of the text string. Ideally, I'd have it in the absolute centre of the string (by pixel width, not by number of characters).

If it were possible to get the bounding box dimensions of the resulting text, then this could be achieved with a bit of nodal arithmetic.

Thanks!:thumbsup: