Hi,
I'm using an imput template, but it is show at top, where I have some buttons, and part of the input dialog is hidden. I'd like to show it a little bit centered, but without having to use a custom layout.
This is my code:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I've tried input.GetPanel(dialog).Top = 150dip, before the showtemplate, but it makes no difference.
Thank you!
			
			I'm using an imput template, but it is show at top, where I have some buttons, and part of the input dialog is hidden. I'd like to show it a little bit centered, but without having to use a custom layout.
This is my code:
			
				B4X:
			
		
		
		        input.Initialize
        input.lblTitle.Text = "Title"
        Wait For (dialog.ShowTemplate(input, "OK", "", "CANCELAR")) Complete (Result As Int)
        If Result = xui.DialogResponse_Positive Then
            Dim res As Int = input.Text 'no need to check with IsNumber
            Log("producto: " & res)
        End IfI've tried input.GetPanel(dialog).Top = 150dip, before the showtemplate, but it makes no difference.
Thank you!
 
				 
 
		 
 
		 
 
		 
 
		 
 
		