Skip to main content
April 10, 2024
Solved

Fill container

  • April 10, 2024
  • 8 replies
  • 246 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?

This topic has been closed for replies.
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.

8 replies

Jaka_Verbic_Miklic
April 10, 2024

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

GuiltyAuthor
April 10, 2024

still have the lane in same position as previous 🤭

GuiltyAuthor
April 10, 2024

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

Jaka_Verbic_Miklic
April 10, 2024

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

GuiltyAuthor
April 10, 2024

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

Jaka_Verbic_Miklic
April 11, 2024

I think you are a bit overcomplicating the layout.

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

GuiltyAuthor
April 11, 2024

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

Jaka_Verbic_Miklic
April 11, 2024

Glad to help!!