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

Spinner not showing #11

Closed
Shekhar175 opened this issue Dec 27, 2017 · 4 comments
Closed

Spinner not showing #11

Shekhar175 opened this issue Dec 27, 2017 · 4 comments

Comments

@Shekhar175
Copy link

Shekhar175 commented Dec 27, 2017

When creating Button object I have given the frame .zero after that I am adding constraints programatically, In that case spinner is not showing. If I create Button with some frame then Spinner is visible but as per frame given not as per updated constraints

@azhararmar
Copy link

I've got the same issue.

@gemini2100
Copy link

I guess you use autolayout, This fixing can show the spinner but not best way .
class TransitionButton, remove set 'spinnerColor' code
private func setup() { self.clipsToBounds = true //spiner.spinnerColor = spinnerColor //remove this line }
and please delete var spinnerColor
//@IBInspectable open var spinnerColor: UIColor = UIColor.white { // didSet { // spiner.spinnerColor = spinnerColor // } //}
All of these for init var spiner after TransitionButton resize by autolayout.

@AladinWay
Copy link
Owner

Thank you for reporting the issue. I will investigate the issue as soon as possible and apply a fix if needed.

@AladinWay
Copy link
Owner

It should be fixed in v0.4.0. Feel free to open the issue if you still have a problem.

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

4 participants