I would like to be able to dynamically set the width of multiple component instances based on the width of a base (or reference) instance.
Example: given multiple horizontal content tabs with text labels of varying lengths, I’d like have all tabs match the width of the longest label, but solely dependent upon the label length, not relevant to the container or depending upon auto-layout.
Hey Saulo! Thanks for the quick reply. I have managed to achieve your suggestion, I think. but I also need to make the resulting fig frame into a component, such that a user could pull this overarching component from the library and specify which tab element (instance) should be the base and have the other tab instances match that base width.
I don’t think this is currently possible, because as soon as I convert the frame into a component, the base/reference tab master component is converted to an instance and the master component is ejected from the main component. Apparently I cannot attach a .fig file here. Cannot post a link as corporate guidelines prohibit that.
Any super-secret tricks to maintain an embedded master component?