Hi.
I have tried to modify the padding of a WebView using the designer, using code ( wvInfo.Padding = Array As Int (10dip, 10dip, 10dip, 10dip) ) and by calling the following routine:
In none of the cases does it work for me. I don't know if I'm leaving something behind or it's a WebView bug.
Greetings.
I have tried to modify the padding of a WebView using the designer, using code ( wvInfo.Padding = Array As Int (10dip, 10dip, 10dip, 10dip) ) and by calling the following routine:
B4X:
Sub setPadding(v As View, Left As Int, Top As Int, Right As Int, Bottom As Int)
Dim jo = v As JavaObject
jo.RunMethod("setPadding", Array As Object(Left, Top, Right, Bottom))
End Sub
In none of the cases does it work for me. I don't know if I'm leaving something behind or it's a WebView bug.
Greetings.