24.08.2013, 08:23
Hello.
I have a TITLE textdraw that is shown in a box. Approximately it gets created at the center when the TITLE is 5 lettered or something (like "Garage") or something. But an increase in the title string messes up the alignment. The whole text shifts obviously, to the right. Would there be an option to auto align it? I could make up a stock depending on the string length, but frankly it would be a pain, checking for string length and overwriting and creating a new textdraw each time...
Scenario:
||..........GARAGE...........||
When a lot of characters:
||..........POLICE GARAGE...||
How do I want it:
||........POLICE GARAGE........||
I have a TITLE textdraw that is shown in a box. Approximately it gets created at the center when the TITLE is 5 lettered or something (like "Garage") or something. But an increase in the title string messes up the alignment. The whole text shifts obviously, to the right. Would there be an option to auto align it? I could make up a stock depending on the string length, but frankly it would be a pain, checking for string length and overwriting and creating a new textdraw each time...
Scenario:
||..........GARAGE...........||
When a lot of characters:
||..........POLICE GARAGE...||
How do I want it:
||........POLICE GARAGE........||