Skip to main content
Answer

Fill container

  • April 10, 2024
  • 8 replies
  • 193 views

Hello,
I need to make an old price tag that should be crossed with the line over the top. The problem is that the price contains three different parts + the line and when I need to have for example 3 digit numbers the line is not filling via frame it is inside.
Is it even possible to make the line responsive or is that unreal?

Best answer by Jaka_Verbic_Miklic

I think you are a bit overcomplicating the layout.

Look at the structure in video. And it is working in my file.

This topic has been closed for replies.

8 replies

Jaka_Verbic_Miklic

The line should have an absolute position property in the frame and constraints set to Left and right.


  • Author
  • April 10, 2024

still have the lane in same position as previous 🤭


  • Author
  • April 10, 2024

and when I put - hug - its not in left and right position anymore


Jaka_Verbic_Miklic

Stretch it to the desired width. Now that it has absolut position it won’t affect other layers.


  • Author
  • April 10, 2024

still, the line does not fill automatically, maybe I am doing something wrong 🫠


Jaka_Verbic_Miklic

I think you are a bit overcomplicating the layout.

Look at the structure in video. And it is working in my file.


  • Author
  • April 11, 2024

OMG, amazing, everything works smoothly now! You are the best, thank you a lot! 😊


Jaka_Verbic_Miklic

Glad to help!!