Problem with UIText in VerticalLayoutGroup

I have a Panel with an AspectRatioFitter on it.

In there, I have a vertical layout group, with three buttons, Standard Mode, Speed Mode, Chaos Mode.

I have the Layout Group’s anchors set to keep its size relative to the parent Panel.

The problem is that the text doesn’t resize when I change the screen resolution. You can see it’s cut off to say “Standard M” in the bottom image.

2273282--152436--Screen Shot 2015-08-30 at 2.47.06 PM.png 2273282--152437--Screen Shot 2015-08-30 at 2.47.04 PM.png

But if I say “Best Fit”, the texts aren’t the same size, because the boxes are big enough to allow the shorter text to be bigger. The only way I’ve been able to fix this is to adjust the sizes and anchors of the text boxes by hand. Is there an automatic way to do this?

2273282--152438--Screen Shot 2015-08-30 at 2.51.42 PM.png

Could you provide a simple scene file which would make easy to replicate your setup for testing? As long as the scene doesn’t use custom content / scripts, just the scene file should be fine.

I got it. I need to set the Canvas Scaler to fit height. That breaks horizontal layouts, so I now have two canvases, one for horizontal stuff, one for vertical stuff.

http://gamedev.stackexchange.com/questions/106530/how-do-i-make-uitext-scale-properly-in-a-verticallayoutgroup-in-unity/106744#106744