Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

center the text into progress #13

Closed
PaolinoAngeletti opened this issue Jun 23, 2020 · 3 comments
Closed

center the text into progress #13

PaolinoAngeletti opened this issue Jun 23, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@PaolinoAngeletti
Copy link

it would be usefull to center the text instead of put it where there is space

@PaolinoAngeletti
Copy link
Author

private fun setLabelViewPosition(position: Float) { if (isVertical()) { labelView.y = position } else { labelView.x = (getViewSize(this) / 2f) - (this.labelView.width / 2f) } }

solved with this line code

@skydoves
Copy link
Owner

Hi @PaolinoAngeletti
I will include this issue in the next release.
Thank you for your issue :)

@skydoves skydoves self-assigned this Jun 27, 2020
@skydoves skydoves added the enhancement New feature or request label Jun 27, 2020
@skydoves
Copy link
Owner

skydoves commented Jul 1, 2020

Hi, a new version 1.0.9 is released!

@skydoves skydoves closed this as completed Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants