Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

vertical distribution #43

Open
Ronadlo7 opened this issue Mar 26, 2019 · 5 comments
Open

vertical distribution #43

Ronadlo7 opened this issue Mar 26, 2019 · 5 comments

Comments

@Ronadlo7
Copy link

this is a cool library,
How to set the vertical distribution?
thank you

@shuhart
Copy link
Owner

shuhart commented Apr 3, 2019

This is not supported yet. Maybe in the near future if demand is enough.

@Khizzar-Synergy
Copy link

yes i would also like it to have a vertical distribution and can you tell that can i add custom step numbers on the steps?

@pratikbutani
Copy link

Yes, I also want it vertical.

@nicklezheng
Copy link

nicklezheng commented Jun 14, 2019

Yes, I also want it vertical support.
Are you developing this feature recently? if not yet, I hope to contribute some code if you permit. I am studying your code these days.
And you can tell me where need to be careful.
For example:

  • how to show the step text under vertical mode. Put these text to right of circle? then how to measure the width of these text ? set a fixed value(twice as circle's diameter ) ?

@shuhart
Copy link
Owner

shuhart commented Jun 16, 2019

Yes, that would be faster than waiting for me. As for your questions I have following suggestions based on official material guidelines https://material.io/archive/guidelines/components/steppers.html#steppers-types-of-steppers:

  • Place a text on the right of a circle.
  • To measure and draw the multiline text you have to use StaticLayout. You can find an example in my code.
  • Do not constraint the width of text. Just draw it in multilines considering a free space of the view itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants