Search Unity

responsive popup

Discussion in 'UGUI & TextMesh Pro' started by Canterlot, Feb 12, 2018.

  1. Canterlot

    Canterlot

    Joined:
    Apr 30, 2016
    Posts:
    25
    hello
    I'm having a problem with the design of a window I have a window cut into 8 images that I would like to be able to render responsive (adapt to the content) but here is the bug I currently have


    and the result would like to wish


    I've put a content size fitter and horizontal group layout layout
     
  2. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    Just looking at your 2 pics, did you want a vertical layout, instead?
     
  3. Canterlot

    Canterlot

    Joined:
    Apr 30, 2016
    Posts:
    25
    I have tried with a vertical layout it is the same worry as the first screenshot but vertical.
     
  4. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    Sorry, perhaps I don't understand the question. With vertical, it does not look like the second picture (ie: the one you want)?
     
  5. Canterlot

    Canterlot

    Joined:
    Apr 30, 2016
    Posts:
    25
    no vertical does not give the same result as the second screenshot.

    I have 8 pictures for my window that I was being responsive.
     
  6. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    I do not know what that means, in your quoted text.

    Sorry, I'm not sure how to help. Hope you can get it fixed.
     
  7. JuanGuzmanH

    JuanGuzmanH

    Joined:
    Feb 8, 2018
    Posts:
    74
    Check that video

    Especially the 9 sliced sprites image type.
    Is the way to go to build resizable and responsive windows.
     
    Mauri likes this.