Align view center

  • 23 February 2015
  • 2 replies
  • 3 views






Symptoms




Aligning a view to be at the center of the form.



Diagnoses




Is there a way to center a view upon the middle of the page within a form?




Resolution

It is possible to do this by applying the following logic within the properties section of the form:

Width = 100%Min. Form Width = 500px Max. Form width = 800px.








2 replies

nope, this does not work. Can't we programatically add a new control property called align and center it in the code?

I need to set a bigger margin for one view. Is there a way to do that but just for one view? If a set the width of the view at 80% it is automatically aligned to the left. If I set the minimum and maximum width of the form, all the views get that extra margin.

 

Best regards and thank you

 

 

Reply