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

Content Size Fitter and Flexible Width/Height

$
0
0
I'm currently building a server list for my game. I already have a way to get a list of hosts etc. My problem lies in the UI.

I have created a Scroll View, where the content has a Vertical Layout Group and a Content Size Fitter. Here are the settings, along with the LayoutProperties: http://i.imgur.com/KbKOBHQ.png

As you can see, Flexible Width is enabled. However, Horizontal Fit is set to Preferred Size, which takes precedence over the flexible width.

This is a picture of how...

Content Size Fitter and Flexible Width/Height

Viewing all articles
Browse latest Browse all 23263

Trending Articles



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