Cadenzo Active Member Licensed User Longtime User Jul 6, 2022 #1 I am very happy for all this B4X-classes, that make it very easy to develop cross platform apps. But sometimes the behavior is not completely the same on Android and iOS. So the StrokeWith .DrawLine of B4XCanvas works in B4i, but in B4A it is always 1. I am not sure, if it is a bug. (.Invalidate after drawing is only necessary in B4i?)
I am very happy for all this B4X-classes, that make it very easy to develop cross platform apps. But sometimes the behavior is not completely the same on Android and iOS. So the StrokeWith .DrawLine of B4XCanvas works in B4i, but in B4A it is always 1. I am not sure, if it is a bug. (.Invalidate after drawing is only necessary in B4i?)
Erel B4X founder Staff member Licensed User Longtime User Jul 7, 2022 #2 skrjabin said: (.Invalidate after drawing is only necessary in B4i?) Click to expand... Also required in B4A. skrjabin said: But sometimes the behavior is not completely the same on Android and iOS. So the StrokeWith .DrawLine of B4XCanvas works in B4i, but in B4A it is always 1. I am not sure, if it is a bug. Click to expand... Please upload a small example. Upvote 0
skrjabin said: (.Invalidate after drawing is only necessary in B4i?) Click to expand... Also required in B4A. skrjabin said: But sometimes the behavior is not completely the same on Android and iOS. So the StrokeWith .DrawLine of B4XCanvas works in B4i, but in B4A it is always 1. I am not sure, if it is a bug. Click to expand... Please upload a small example.
Cadenzo Active Member Licensed User Longtime User Jul 7, 2022 #3 Sorry, my mistake! I wrote StrokeWith 3, not 3dip. This was on iPad like 3dip, but on Android phone 1dip. Upvote 0
Sorry, my mistake! I wrote StrokeWith 3, not 3dip. This was on iPad like 3dip, but on Android phone 1dip.