Hi
I have a button that contains icons and a text layer. I need the text layer to have a max width of 160px as it needs to truncate very long button texts. However, we also need a version, where the text isn’t truncated when above 160 px width for some other designs.
My question is, if there is a way to override the max width value in a component instance or if I need to create a boolean text layers with no limit to width, that can then be toggled on/off depending on desired behavior.
I guess it can also somehow be achieved using slot components, but I would prefer to just be able to override the max width from the main component on my component instance to avoid complexity.
Any ideas? Thanks.

