Hi,
Attempting to resize the dialog box to the size of the full screen ends with the result as shown in the picture:
Settings:
DialogWidthInside = 100% x
DialogHeightInside = 100% y
The "SetSize" method is not working properly for me. What could be the reason?
Attempting to resize the dialog box to the size of the full screen ends with the result as shown in the picture:
Settings:
DialogWidthInside = 100% x
DialogHeightInside = 100% y
The "SetSize" method is not working properly for me. What could be the reason?
DetailsDialog.SetSize(DialogWidthInside, DialogHeightInside):
Sub Input(InputParameters As Map, DialogWidthInside As Int, DialogHeightInside As Int, isEncrypt As Boolean) As ResumableSub
Dim EditorHeight As Int = DialogHeightInside - (3 * 48dip)
Dim ico As B4XBitmap = LoadBitmap(File.DirAssets, "3.png")
Dim sf As Object = DetailsDialog.ShowAsync(InputParameters.Get("title"), InputParameters.Get("positive"), InputParameters.Get("cancel"), "", ico, False)
DetailsDialog.SetSize(DialogWidthInside, DialogHeightInside)
isEncryptFile = isEncrypt
Wait For (sf) Dialog_Ready(Dialogpanel As Panel)
...
Attachments
Last edited: