-
Notifications
You must be signed in to change notification settings - Fork 467
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
Radius takes over Padding #52
Comments
I got exactly the same problem ;( Can someone fix it please ? Thanks guys :) |
Hmm ... if i put 30.f as sidePadding i got something but when i want to increase the value let's say 50.f or 80.0f, the padding look the same |
If there is not enough room to apply the padding then it is reduced. The above examples worked for me. They are more visible when the demo is rotated to landscape. In portrait there's not enough room for large side padding values. |
I think we talk here about different paddings.
After adjusting the cornerRadius my padding in the balloon is adjusted to a lower margin/padding value (point2). |
this work for me |
Upon adding these two parameters (just like the demo suggested):
popTipView.cornerRadius = 2.0;
popTipView.sidePadding = 30.0f;
The Radius works fine, however because the radius is so low, the desired padding is ignored (or not taken into consideration properly) as there is still next to no padding. The code given should produce a padded (almost) square bubble, but it gives a non-padded square bubble instead.
Sorry if this was intentional and I've got the wrong end of the stick!
Other than this, this subclass is great - thank you very much for providing it.
The text was updated successfully, but these errors were encountered: