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

Scrolling not working after putting this progress bar inside scrollview #32

Open
sajidjutt7 opened this issue May 5, 2023 · 0 comments

Comments

@sajidjutt7
Copy link

I have wrapped this progress bar inside a scrollview. But this progress bar is still not scrollable.
I have tried to alter the width and all the possible things to do as i am using scrollviews extensively in my app. But it is not working in your library.
Indeed i have added some other objects in the scrollview and it scrolled fine.
But i thing. Progress bar is not appending its content width even after adding the values programatically.
Attaching the picture also.

Screenshot 2023-05-05 at 2 30 27 PM

Following is the code for more context.

`
progressbar.titles = ["Personal Details", "Address", "Submit", "Forth", "Fifth", "Sixth"]
progressbar.images = [
UIImage(named: "signup_identify_off")!,
UIImage(named: "signup_address_off")!,
UIImage(named: "signup_identify_off")!,
UIImage(named: "signup_approved_off")!,
UIImage(named: "signup_address_off")!,
UIImage(named: "signup_approved_off")!
]
progressbar.activeImages = [
UIImage(named: "signup_identify_on")!,
UIImage(named: "signup_address_on")!,
UIImage(named: "signup_approved_on")!,
UIImage(named: "signup_address_on")!,
UIImage(named: "signup_identify_on")!,
UIImage(named: "signup_approved_on")!
]
progressbar.currentTab = 1
progressbar.stepDrawingMode = .image
progressbar.justCheckCompleted = true
progressbar.tintActiveImage = true

`

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

1 participant