Hi,
When I call a DateDialog nested into a CustomDialog, the DateDialog is truncated in height by the height of the CustomDialog. If the CustomDialog is not high enough, the OK and Cancel buttons are not displayed.
Is there any way of fixing this other than making the CustomDialog panel high enough?
Thank you for your answers
When I call a DateDialog nested into a CustomDialog, the DateDialog is truncated in height by the height of the CustomDialog. If the CustomDialog is not high enough, the OK and Cancel buttons are not displayed.
Is there any way of fixing this other than making the CustomDialog panel high enough?
B4X:
Private Sub ShowCustomDialog
Dim p As B4XView = xui.CreatePanel("")
' Minimal Height = 250dip
p.SetLayoutAnimated(100, 0, 0, 80%x, 250dip)
...
Dim rs As ResumableSub = CustomDialog.ShowCustom(p, "OK", "", "CANCEL")
...
B4X:
Private Sub lblCustomDate_Click
DateDialog.Initialize(CustomDialog.Base)
DateTemplate.Initialize
Dim Result As Object = DateDialog.ShowTemplate(DateTemplate, "OK", "", "CANCEL")
Wait For (Result) Complete (Success As Int)
...
End Sub
Thank you for your answers