Search Unity

TextMesh Pro Flush not working in last TextMeshPro preview3

Discussion in 'UGUI & TextMesh Pro' started by Rafael_CS, Jul 21, 2022.

  1. Rafael_CS

    Rafael_CS

    Joined:
    Sep 16, 2013
    Posts:
    162
    Hello @Stephan_B , i detected a problem in last textmeshpro 3.2.0-preview3 related to FLUSH mode.
    When selecting Preserve WhiteSpace, line break will be considered in calculation (as you can see in image below seems that flush contains 3 columns, instead 2, just because de linebreak)

    When selecting TextWrappingMode: Normal, linebreak is completely broken.

    WrapMin W,
    TextWrappingMode Normal:
    upload_2022-7-21_18-13-20.png


    WrapMin W,
    TextWrappingMode Preserve WhiteSpace
    upload_2022-7-21_18-14-31.png


    WrapMin W,
    TextWrappingMode Preserve WhiteSpace
    Only one line, without line break (the correct behaviour)
    upload_2022-7-21_18-15-9.png