Skip to main content

Hug Contents for variant-components with Fill Container children

  • September 27, 2021
  • 1 reply
  • 4458 views

Harald_Skogland

As mentioned in:

I’d like to be able to set ‘Hug Contents’ on a component that has variants that are set to ‘Fill Container’. Hug contents is a great way to keep components with variants tidy. However, often I want the variants to be set to Fill container, as that will be their auto-layout behaviour where they will be placed in artboards.

Currently it’s not possible to combine having a multiple-variant-component set to Hug Content, with variants set to Fill Container inside of it.

I realise this does not fit with the parent-hug-contents and child-fill-container logic. My thinking here is that there would be an exception for the master-component only, although I’m not sure exactly how it would work.

thanks,

This topic has been closed for comments

  • October 27, 2021

This topic was automatically closed after 30 days. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings