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?
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
First, because when I searched the forum for customizable dialogs, I never got the answer about B4XPreferencesDialog.
Secondly, I just looked at B4XPreferencesDialog, but nowhere did I see that it supports nested.
And why have so many libraries all doing the same thing. Wouldn't it be simpler to reduce their number and mark the older ones as obsolete so that they're not used for new developments?