timeLineiOS
timeLineiOS copied to clipboard
Increase size?
I have been messing around with this control and I love it! However how could I make the timeline bigger? wider and taller?
Thanks
Hello @nporter19
thanks))
Right now to change size you need to play with this constants
const float BETTWEEN_LABEL_OFFSET = 20; const float LINE_WIDTH = 2.0; const float CIRCLE_RADIUS = 3.0; const float INITIAL_PROGRESS_CONTAINER_WIDTH = 20.0; const float PROGRESS_VIEW_CONTAINER_LEFT = 51.0; const float VIEW_WIDTH = 225.0;
I understand that it is not clear now and this make me think that I can add a datasource like in table view to ask for basic size parameters. If solution with datasource will be appropriate I will add it asap)
Looking forward for your comment
Regards,Roma