Hi all,
In my current app under development I use the Dialogs 2.80 library to get some userresponse. In general this works well, but one of the numberDialogs I use (6 digits, no decimals) does not show the last digit in portrait mode. It does in Landscape mode, though. See the attached screenshots.
It's the first time I use this lib.
I define the dialog in Sub Globals :
and use it in a label-click event :
The app is written for 320x480/480x320 screens and uses AutoScaleAll and Designer Scripts to scale and position the views. This seems to have no effect on the dialogs itself.
The screenshots are taken from my HTC One X and are scaled down in size to be able to upload them, but that's OK for the purpose of showing the problem.
:sign0163:
In my current app under development I use the Dialogs 2.80 library to get some userresponse. In general this works well, but one of the numberDialogs I use (6 digits, no decimals) does not show the last digit in portrait mode. It does in Landscape mode, though. See the attached screenshots.
It's the first time I use this lib.
I define the dialog in Sub Globals :
B4X:
Dim inputLiter, inputNumber, inputBedrag As NumberDialog
and use it in a label-click event :
B4X:
Sub lblKMtellerInvoer_Click
LaatsteKM = Tabel.GetValue(2, Tabel.LastEntry)
inputNumber.Decimal = 0
inputNumber.Digits = 6
If lblKMtellerInvoer.Text = "" OR lblKMtellerInvoer.Text <= LaatsteKM Then
inputNumber.Number = LaatsteKM
Else
inputNumber.Number = lblKMtellerInvoer.Text
End If
inputNumber.Show("KM-teller","OK","Cancel","", Null)
If inputNumber.Response = OK Then
lblKMtellerInvoer.Text = inputNumber.Number
If inputNumber.Number <= LaatsteKM Then
Result = Msgbox2 ("KM <= Laatste invoer !", "", "OK","" ,"" , LoadBitmapSample(File.DirAssets, "aglogo.jpg",LogoBreedte , LogoHoogte))
lblKMtellerInvoer.Text = ""
End If
End If
End Sub
The app is written for 320x480/480x320 screens and uses AutoScaleAll and Designer Scripts to scale and position the views. This seems to have no effect on the dialogs itself.
The screenshots are taken from my HTC One X and are scaled down in size to be able to upload them, but that's OK for the purpose of showing the problem.
:sign0163: