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

Resize Progress Bar #6

Closed
YingshanDeng opened this issue Apr 5, 2015 · 4 comments
Closed

Resize Progress Bar #6

YingshanDeng opened this issue Apr 5, 2015 · 4 comments

Comments

@YingshanDeng
Copy link

How to Resize Progress Bar? Especially height。

@alskipp
Copy link
Owner

alskipp commented Apr 5, 2015

If you increase the font size you use, the height of the pop-up should increase to fit the text. Is this what you need?

@YingshanDeng
Copy link
Author

Oh, NO. I just want to increase the height of the progress bar which under the pop-up view. In StackOverflow,I found the answer : http://stackoverflow.com/a/21041670 . Howerer, the left and right ends view is diff. (The progress bar is rounded corner default, but I want it without rounded corner.)

d6ed70e7-4ea3-46a4-8894-d433ccb66e37

@alskipp
Copy link
Owner

alskipp commented Apr 19, 2015

I'm not sure what the best suggestion would be. As far as I'm aware there isn't a way to define a custom path for the track, though you can supply a custom image (but you'd then lose the ability to constantly update the track color).

The ability to change the size of the track is not something I'm planning on adding to the component, as I'm unaware of a clean way of implementing such functionality. It might require starting from scratch with a custom control, rather than subclassing UIProgressView?

Best of luck (if you do find a good way of achieving this, then do post a comment explaining the method).

Al

@alskipp alskipp closed this as completed Apr 19, 2015
@alskipp
Copy link
Owner

alskipp commented Apr 20, 2015

Hi @YingshanDeng please take a look at this feature branch:
https://github.com/alskipp/ASProgressPopUpView/tree/uiview_subclass

This is very much work in progress. For further discussion, please refer to issue #7

Cheers,
Al

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

No branches or pull requests

2 participants