How can I center text created using texttexture vertically inside textfield?

Willkommen in der OMSI-WebDisk!
Als Gast kannst du nur Inhalte in deiner ausgewählten Sprache sehen. Registrierte Nutzer können die Sichtbarkeit anderer Sprachen in ihrem Kontrollzentrum aktivieren, weitere Infos hier.
Alle Themen sind in den Foren mit einer Sprachflagge gekennzeichnet: = Englisch [EN], = Deutsch [DE], = Französisch [FR]. Wenn du die angegebene Sprache nicht beherrschst, schreibe auf Englisch!
  • Hello everyone,

    I had to face with some difficulties when I tried to center a text created using texttexture verically inside a textfield.

    So the issue is quite simple but annoying. As you can see, if a stop name fills two line on the screen, it works perfecly (of course not, but is seems like it does) but if the name fits in only one line then the text appear at the top of the textfield. As you can see in the picture, IRL all stop names are aligned vertically center next to the "dots" and that is what I want to implement but for me it not works and I have no idea what can I do with it.

    Any idea?

    Thank You guys.


    In OMSI


    IRL


  • ddrucsko

    Hat den Titel des Themas von „How can I center text created using texttexture vertically inside textfield“ zu „How can I center text created using texttexture vertically inside textfield?“ geändert.
  • Sorry, but vertical centering is not supported with texttextures; only horizontal centering is possible.

    You can try a scripttexture... there you can align your text vertically (like destination display).