I have a ScrollView that I scroll a panel with over 60 labels inside. It all works correctly but I can't see it in full, that is in width,
I can't cover the entire screen, on the iPhone it doesn't cause problems because there are a few pixels missing from the edge,
but testing it on the iPad it doesn't even cover half the screen. To make the iPad screen similar to the iPhone's I'm using scripts,
which work great for other objects but not for the ScroolView. In the drawing of the same I try to make it go out of the designated
area but nothing changes, I'm attaching the script. The scvTest is ScrollView
I can't cover the entire screen, on the iPhone it doesn't cause problems because there are a few pixels missing from the edge,
but testing it on the iPad it doesn't even cover half the screen. To make the iPad screen similar to the iPhone's I'm using scripts,
which work great for other objects but not for the ScroolView. In the drawing of the same I try to make it go out of the designated
area but nothing changes, I'm attaching the script. The scvTest is ScrollView
B4X:
'All variants script
larg = 100%x
Alt = 100%Y
If Alt/larg < 1.5 Then
'iPad
AS_DatePicker1.Width = 70%x
AS_DatePicker1.Height = 26%y
Labconfig.left=82%x
Telef.Left= 84%x
whats.Left=84%x
Label1.Left=82%x
labora.left=82%x
Buttmostra.Left=82%x
labora.Top=26.5%y
editpren.Top=26.5%y
RadioC1.Top=26.5%y
RadioC2.Top=30%y
RadioC1.left=60%x
RadioC2.left=60%x
Labfesta.Top =30%y
editpren.Left=38%X
Labfesta.left =36%x
scvTest.Top =33%y
scvTest.Height =90%y
scvTest.Width =98%x
Panel1.Top=32%y
Panel1.Width=40%x
Panel1.Height=22%y
Panel1.left=20%x
labora.left=20%x
Else
'iphone
AS_DatePicker1.Width = 72%x
AS_DatePicker1.Height = 26%y
labora.Top =28%y
editpren.Top =28%y
RadioC1.Top =28%y
RadioC2.Top =32%y
Labfesta.Top =32%y
scvTest.Top =35%y
scvTest.Height =90%y
scvTest.Width =96%x
Panel1.Top=36%y
Panel1.Width=80%x
Panel1.left=10%x
listavisite.Width=70%x
editpren.Left=30%X
Labfesta.left =30%x
End If