-
Notifications
You must be signed in to change notification settings - Fork 190
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
change arrow size #81
Comments
Maybe it is not the best way to change the arrow size but you can use a custom arrow by implementing your own SMCalloutBackgroundView.
Set the image, anchorHeight, anchorMargin in the init and layout it as you need in the layoutSubviews.
Then set your custom background to your callout
|
@rousseauo is correct that a custom background will be needed to change the arrow, since the arrow is based on a static image. You could create your own static arrow image and use it instead if you want to draw it the same way. |
Do you know how to encode an image into data as it is currently done in the Btw- thanks for the blazing fast response!! On Tuesday, May 5, 2015, Nick Farina [email protected] wrote:
Sent from Gmail Mobile |
Take a look at SampleAssets/SystemGraphics/process_images.py to see how the included images are encoded. |
I guess I'll have to open a py shell and try it out! |
how can I do this? The arrow is hardcoded
The text was updated successfully, but these errors were encountered: