timelines icon indicating copy to clipboard operation
timelines copied to clipboard

Question: Top alignment between content and indicator

Open robertoestivill opened this issue 3 years ago • 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

robertoestivill avatar Jan 10 '22 14:01 robertoestivill

I think you can use indicatorPosition: 0 in the TimelineThemeData

phamconganh avatar Jan 12 '22 10:01 phamconganh

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

robertoestivill avatar Jan 12 '22 14:01 robertoestivill

Have you found any solutions for this @robertoestivill ?

ririlya94 avatar Feb 16 '22 06:02 ririlya94

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.

robertoestivill avatar Feb 16 '22 07:02 robertoestivill