Search Unity

Scroll View Indent

Discussion in 'UGUI & TextMesh Pro' started by chrisjbampton, May 26, 2017.

  1. chrisjbampton

    chrisjbampton

    Joined:
    Jan 8, 2016
    Posts:
    5
    I've got the weirdest bug with my scroll view and I can't work it out for the life of me... help!

    Details and screenshots here:

    http://imgur.com/a/VE3qm

    Unitypackage containing example here:

    https://ufile.io/3hpwd

    Basically, i'm trying to add a 3 pixel indent to my content within a scroll view (in this case text).

    The content size fitter seems to reapply itself when saving, and removes the indent (in fact if you add a parent and indent that (Left = 3) it will set the content left to -3 just to cause me a headache. However, when you save it again, it reapplies the indent.

    Anyone else come across this / got a fix?

    Thanks

    Chris