- Home /
Buttons as children of panel scale on different resolution not working
If you click a button one one line it should spawn a small line on that line. But I have a problem with different resolution. I have set up my unity for the following resolutions: 1080x2340 (Huawei P30) and 2048x2732 (IPad Pro). This is how i designed it for the Huawei P30 (still mockup ;)): And if I change the resolution to the IPad it looks like this:
I have set the buttons as children to the panel. The panels anchor is set to stretch and the buttons have anchors to their border, for example top left has top left anchor.
Any suggestions how to scale this right for multiple reolutions?
Your answer
![](https://koobas.hobune.stream/wayback/20220612234002im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to make button stay the same size on all screens? 2 Answers
Develop 2D game Inside Canvas Scaler 0 Answers
How to scale according to different mobile resolutions? 0 Answers
Changing button positions on different resolutions 1 Answer
Major resolution discrepancy when comparing 2 Android phones. What could be causing this? 1 Answer