- Home /
[4.6] How can I make children images not stretch with the parents? where to place anchors?
I want what happens on picture one to happen on picture 2 aswell, even though the blue bar stretches out, but wanting to keep them as children of that image; see below.
Answer by Kiwasi · Dec 03, 2014 at 06:41 PM
To prevent stretching all four anchors need to be placed on the same location. For your example I would suggest anchoring the left button to the LHS, the middle on to the center and so forth.
You can also use the layout elements to achieve the same effect. Here is one of my videos that uses them. You may need to play around with the settings to achieve this.
Your answer
Follow this Question
Related Questions
9 Sliced Image Is Bleeding Edges 0 Answers
4.6 UI Image Color.Lerp 0 Answers
Unity 4.6: How to fit center byte array png in the Image UI? 1 Answer
Unity 4.6 UI - Image Order 4 Answers
[4.6 UI] Image fading - How to? 2 Answers