- Home /
have buttons scale with canvas
im in no rush, but how do i make it scale along with the parent canvas?
Answer by shriya · Jan 13, 2015 at 08:52 AM
hi,
To make your button scale with your canvas, you need to set it anchors.
Make your anchors Stretch stretch . You will notice that all four anchors placed themselves at the corner of canvas. now check with different screens. You will notice that button is resizing itself but its too big
To make them scale as per your requirement on different screens simply drag those anchors close to button. And your anchor settings will change to custom custom and thats ok
Play with it and you will understand . Hope it helps
Your answer
Follow this Question
Related Questions
GetLocalCorners not working correctly 1 Answer
Get last panel in chierarchy 0 Answers
Changing ScrollView content from the script 0 Answers
Canvas button transfrom position not correct 0 Answers
4.6 UI sort order in fornt of IMGUI/OnGUI possible? 2 Answers