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

Problem with constraints #5

Closed
xiaoxidong opened this issue Jun 1, 2015 · 11 comments
Closed

Problem with constraints #5

xiaoxidong opened this issue Jun 1, 2015 · 11 comments

Comments

@xiaoxidong
Copy link

HI,Matthias
I want to use it both in iPhone and iPad,so I add some constraints to the colorWell,colorPicker and huePicker,but when I tap the huePicker,the colorPicker seems have something wrong,the color is NOT right,so do you have any idea how can I fix it? Thank you so much.

@MrMatthias
Copy link
Owner

Hi, does the color not change or is it a different color? can you make a screenshot?

@xiaoxidong
Copy link
Author

if you add some constraints,it will look like this.
img_0641

@xiaoxidong
Copy link
Author

HI,any probelm with this?

@MrMatthias
Copy link
Owner

i wasn't able to reproduce the error with the example in the example branch yet. Do you use a storyboard or create the views in code? so far there is no code to handle changes in size.

@xiaoxidong
Copy link
Author

Yes,I use a storyboard and add constraints in the storyboard,so any idea how can I fix this?

@MrMatthias
Copy link
Owner

Can you upload the source somewhere so i can debug it? It looks like it starts with a shorter width and then changes size and color

@xiaoxidong
Copy link
Author

https://github.com/xiaoxidong/ColorPicker Here is the code,thank you so much.

@MrMatthias
Copy link
Owner

Hi, no problem, thanks for reporting the bug. It changes indeed the size. A quick fix would be to give it a constant size in storyboard until i add the code to handle size changes.

@MrMatthias
Copy link
Owner

I pushed version 0.0.5 to cocoapods that should fix the bug

@xiaoxidong
Copy link
Author

HI,how long will it take to release?it is still 0.0.4.

@MrMatthias
Copy link
Owner

Hi, i released it 12 days ago. do you have 0.0.4 in your podfile? https://cocoapods.org/pods/SwiftColorPicker

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