Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Text wrap-reverse

Discussion in 'UI Toolkit' started by sasyda, Sep 13, 2023.

  1. sasyda

    sasyda

    Joined:
    Mar 31, 2022
    Posts:
    8
    Hey there,
    Thanks for the support on UITK. As it is most obvious, giving full support for RTL text is a big ask, but could u at least make wrap-reverse available on this field as well?

    There are some good assets out there which handle RTL text reversion really well, specially in TMP, e.g. RTLTMPro, but while using it in UITK texts, in wrapped texts lines go upwards instead of downwards, and my guess is that this option can at least paper over our problem.

    Just in case my explanation isn't so clear, i attached a screenshot, in which u can see that the ending dot, is sitting up top.

    cheers.

     
  2. HugoBD-Unity

    HugoBD-Unity

    Unity Technologies

    Joined:
    May 14, 2018
    Posts:
    437
    Hi @sasyda! Is RTLTMPro properly handling word wrapping for RTL text ?
     
  3. sasyda

    sasyda

    Joined:
    Mar 31, 2022
    Posts:
    8
    probably not.
    the procedure it's using seem to work in TMPro, handles everything even multilingual numbers, but there seems to be a difference in line breaking between text and tmpro that ends up failing. (Like i guess, putting words in reverse order sends words up, and not down)
    btw, tried to contact the author of that asset, but no luck yet.