Skip to content

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

@sajidjutt7

Description

@sajidjutt7

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

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions