Skip to main content
Solved

How to have a fill with 2 colors and radius with auto-layout

  • February 25, 2025
  • 2 replies
  • 50 views

Fla8306

Hi Is there a way to reproduce this design without beaking the autolayout ? 

To fill with the grey rectangle I had to use a rectangle form but I need to break the autolayout.

Thanks a lot :-)

 

Best answer by Geoffrey_Menissier

Hello, 

Everything goes in the autolayout (grey+radius). And the bitmap bottle has the option “ignore auto-layout” with a negative position. Then you will probably need to have a padding top to your component.

 

This topic has been closed for replies.

2 replies

Geoffrey_Menissier
  • Active Member
  • 23 replies
  • Answer
  • February 25, 2025

Hello, 

Everything goes in the autolayout (grey+radius). And the bitmap bottle has the option “ignore auto-layout” with a negative position. Then you will probably need to have a padding top to your component.

 


Fla8306
  • Author
  • New Member
  • 1 reply
  • February 26, 2025

Thanks ​@Geoffrey_Menissier for the reply, it works !