Layout not auto-sizing correctly in WebGL Advanced (Possible Bug)
I’m attempting to create a Rive file to prompt the user for inputs based on their key or controller binding for the game. It’s a pretty simple layout tied to a view model. It works correctly in the Rive editor but not the runtime.
Here’s what it resizes to when I set the values to the view model in the editor while in play mode:
And here’s what happens in the game when I set the same values:
As you can see, the layout around the key does not shrink to fit the text as it does in the editor. Also the translucent background for the layout shrinks around the button instead of including the prompt text.
prompt.revI’m using the WebGL Advanced Single runtime. I’ve tried both the normal and WebGL2 with the same result.