This are the Support Forums for FSUIPC and related products.

These forums replace the old support forums which have been running for 20+ years. The old forums contain a wealth of information on all FSUIPC products, but are now no longer available.

Please note that you will need to Register and Login to post for support, and also to download attachments. You can view these forums without registering.

Support is also available via Discord. Please use the following invite link to join the FSUIPC Discord server:
https://discord.gg/zjwUTrxmmE

wnd using lua
 
Notifications
Clear all

wnd using lua

Posts: 1
Registered
Topic starter
(@arlee)
Joined: 7 days ago

Hello. Can the text in a wnd be aligned (i.e.: left, right, centered) as well as vertical alignment, and if so, how?


1 Reply
Posts: 212
Admin
(@fsuipc)
Joined: 7 months ago

Pleas see the functions provided: there are no special controls/options for alignment. It is up to you to do this in the strings you provide, i.e. for right alignment use a fixed space font (WND_COURIER) and pad left with spaces.
No such thing as vertical alignment - you need to write the text at the position/line needed.

Note that there was also a bug ion the font selection in the wnd library that may affect FSUIPC4. This was fixed in FSUIPC7/6 but FSUIPC4 is closed for further development.


Reply