PrefDlg.Initialize(Root,"App.-Info",600dip,600dip)
...
TemplateDialogWH(PrefDlg, 600dip, 600dip))
private Sub TemplateDialogWH(pfd As PreferencesDialog, w As Int, h As Int)
If Initialized(pfd.LongTextTemplate) Then
pfd.LongTextTemplate.mBase.Width=w
pfd.LongTextTemplate.mBase.Height=h
End If
If Initialized(pfd.SearchTemplate) Then
pfd.SearchTemplate.mBase.Width=w
pfd.SearchTemplate.mBase.Height=h
End If
If Initialized(pfd.DateTemplate) Then
pfd.DateTemplate.GetPanel(Null).Width=w
pfd.DateTemplate.GetPanel(Null).Height=h
End If
If Initialized( pfd.ColorTemplate) Then
pfd.ColorTemplate.mBase.Width=w
pfd.ColorTemplate.mBase.Height=h
End If
End Sub