Search Unity

ScrollView - Resolution

Discussion in 'UGUI & TextMesh Pro' started by DominiqueT, Aug 25, 2014.

  1. DominiqueT

    DominiqueT

    Joined:
    Mar 27, 2014
    Posts:
    49
    Hi

    I have this hierarchy :

    - ScrollRect ("full screen" : anchors strech 0,0,0,0) (and mask)
    - Horizontal Layout Group with Content Size Fitter
    - Image with Layout Element
    I don't find the correct value to have my images "full screen" and scrollview working. If I use "Preferred Width/Height" in Layout Element, scrollview works, Image are display too but when I resize the app, Image are cut.


    Any idea ?

    Best
     
  2. runevision

    runevision

    Joined:
    Nov 28, 2007
    Posts:
    1,892
    Not sure I understand the description of the problem. Can you record a screencast (with Jing or similar) showing the issue you're having?
     
  3. DominiqueT

    DominiqueT

    Joined:
    Mar 27, 2014
    Posts:
    49
    I've attach some screenshot.
    If I duplicate child of HLG, their size decrease and don't stay "fullscreen".

    I've try to add content fitter / layout element but if I use that, when I resize my screen, image don't resize;
     

    Attached Files:

  4. DominiqueT

    DominiqueT

    Joined:
    Mar 27, 2014
    Posts:
    49
    Solved with "Resolution Reference"