Unreal Engine 5.7.4: When importing an artboard with a layout with different-sized components, th...
I have a simple setup of a component that exposes properties to make them editable on my main Artboard. They are in a “Hug” layout to resize the label box based on the properties.
They are placed in a row, on the main artboard, with the row again “Hug”-ing the components. Each “Instance Layout” is set to “Fill”. The parameters are then set to values of different character lengths, which are resized properly in the rive editor
When I import it into Unreal and generate a widget, then bind the default viewmodel, I get an issue where the components are not resized based on the content, but rather keep the default size of the component
I tried manually binding the viewmodel in pre-construct, changing the fit type to Layout and manually creating those labels within the main artboard instead of using components, none of which helped.
Can anybody please take a look and let me know what I am doing wrong? Is this achievable with Rive?