Scale does not affect Pos in Rect Transform, but Scale does affect Width.

  • If you are not aware of this, you may unexpectedly specify a Width, Height that is too small.
    • image
    • image

---Log below image image image - The top of monolith is used as the reference point, and the top of the text is aligned with the point -1 in the Y direction from there.

  • Width is 0 right now, but if I want to Truncate it, should I set it appropriately (like 4 in this case)?

    • image
    • This is what happens when you don’t Truncate.
    • but there was no horizontal Truncate to begin with.
  • Alignment’s up and down buttons were confused with the up and down buttons such as PowerPoint.

    • This means whether the text is aligned at the top or bottom of the text with respect to the reference point, so the text will go to the top if you “align at the bottom,” which is the opposite of the expression on the icon.

  • But I guess not.

    • image
    • image
    • It seems that Scale does not affect Pos, but Width does.
      • I’ve misunderstood that until now, and it was made smaller than it was supposed to be.
      • In this situation, I’d stick to the lower end of the monolith with the bottom row.
      • The alignment appeared to be in alignment with respect to the reference point because the vertical width was smaller than expected.
    • Pos may be 0 with the monolith center as the reference point
  • This is what happens when you set Wrap and Truncate

    • image

This page is auto-translated from /nishio/WidthにScaleが影響する罠 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.