Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

GridLayout creating elements underneath dynamically, dealing with UI scaling.

$
0
0
Okay just a little setup on whats going on. I have a canvas scaler set to a reference resolution of 1920x1080, and a script running on a panel that will dynamically place the amount of boxes into the gridlayout to cover the space of the panel. Taking in for account whatever padding and spacing is on the gridlayout group. The issue occurs when you start the game in 1920x1080 and scale it down to 800x600 the scaled down version is different than the ui that is started in 800x600.

I have...

GridLayout creating elements underneath dynamically, dealing with UI scaling.

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>