-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
[Android]IndexOutOfBounds when using DashPattern #125
Comments
e.g. "10,4" would mean that the dash is 10 units wide and the space in between them is 4 units wide. Setting it to a single value will indeed throw an error (because it won't work with a single value anyway), which I'm adding a check for. |
Ahh all right. Thank you very much fpr the quick reply. :) |
As a small edit. I would suggest setting the DashPattern with only one number would result that the dash length and the spacing are the value set in the DashPattern. On iOS this seams to work already. |
That's probably a platform-specific perk of how iOS implements that then. I can take a peek at implementing a check for that on Droid. |
This should be fixed in the current beta if you want to verify. |
So I've taken a look it works just fine now. 👍 PS: Thank you very much for the great work. If there is any way to support you a litle without using GitHub Sponsors let me know. Sadly im not in the position right now to do monthly sponsoring. |
@BaseCrusher Thanks for the kind words, appreciate it. I'll happily take a docs PR :) I didn't even know that was possible for Wiki, so you learn something new every day. There is definitely a visual difference between Android and iOS for the dashes, but I haven't found the magic formula that makes the look in sync yet. Regarding sponsoring, I don't quite know what people typically set up for that. I have the GH sponsors thing here, I have a Twitch stream where I guess one can throw bits at me. Other than that I don't know what people use these days. If you have suggestions I'll gladly take em. |
Closing this since the original problem was solved. |
@sthewissen I realized that I'm not able to do PR's to the wiki. So Im posting it here.
|
Thanks, I'll add a paragraph for it! |
When you set the BorderMarkup DashPattern to anythink other then 0 when using Android a Java.Lang.ArrayIndexOutOfBoundsException is thrown.
The text was updated successfully, but these errors were encountered: