Skip to main content
Question

While on auto layout, is there a way to set a single component to always take up 60% of art-board's width while setting every component to be "fill container"?

  • March 14, 2023
  • 1 reply
  • 421 views

Lee_Gi

So, let’s say there are two cards horizontally on landscape art-board with auto layout. Both are set to “fill container”. This makes each card to take up 50% of the art-board. I need one on the left to always take over 40% and one on the right to take over 60% of art-board’s width while both are staying “fill container” so they can be responsive.

Is there a way to achieve this?

This topic has been closed for replies.

1 reply

Haroll
  • Active Member
  • March 15, 2023

Hi @Lee_Gi,
As of today, it is not possible to use relative value. You won’t be able to have a div of 40% unless you make the math by yourself