layouts

Hi everyone! I’m currently working on a responsive button component in Rive for a Flutter implementation, and I’m running into some layout inconsistencies between the Rive editor and the runtime.

Inside the Rive editor, everything works perfectly.

But once running in the Flutter runtime, the text starts overflowing outside the button bounds and breaks the layout, even though it looks completely correct inside Rive.

It seems like the text measurement behaves differently outside the Rive editor.

Has anyone experienced this with responsive layouts /? Any best practices or workarounds for handling responsive buttons and text safely?

Thanks!