chulwoo-park/timelines

Question: Top alignment between content and indicator

Opened this issue · 4 comments

How can I align the top of the indicator with the top of the content, when the content is longer than a single line?

Basically making sure the two red lines are aligned in the following example:

Screenshot 2022-01-10 at 11 15 04

Is there any option to accomplish this already?

Thanks

I think you can use indicatorPosition: 0 in the TimelineThemeData

I think you can use indicatorPosition: 0 in the TimelineThemeData

I think this is what I was looking for, thanks @phamconganh.

However, just adding position: 0 to my Indicator subclasses creates a different issue, by which the last item of the Timeline is not aligned horizontally anymore.

I've tried with two different Timelines and the same result.

Example 1:
Screenshot 2022-01-12 at 11 50 44

Example 2:
Screenshot 2022-01-12 at 11 47 26

Maybe I'm missing something else? Any clues?
Thank you

Have you found any solutions for this @robertoestivill ?

Have you found any solutions for this @robertoestivill ?

I have not. I stopped working on this for the time being.
I'm currently thinking on building an very simple in-house version of it, as I don't need most the functionality provided by the library.
Sorry.