Align controls in table
Posted: 22 May 2020
Hi,
I'm having trouble aligning controls in a table. I've searched the forum and tried numerous things but i'm not able to get the right result.
So in the form i have a Accordion. In each accordion container i put a table with 2 rows and 3 columns. 1 row is for the header, the 2nd row for all the controls. In the 1st column i put plain text controls. The 2nd columns had a person field and the 3rd column a date field. In the editor everything is perfectly aligned. When looking at the form in the browser the controls are not vertically aligned. I managed to get the date column vertically aligned by adjusting the height. Not a very clean way... there must be a better solution? Now i'm trying to get the plain text field vertically aligned but whatever i try, the plain text field doesn't change. See entries under .titelcell
The current result looks like this: I've also tried to put each field in a seperate table cell. The effect however was the same. Can you tell me what i'm doing wrong?
I'm having trouble aligning controls in a table. I've searched the forum and tried numerous things but i'm not able to get the right result.
So in the form i have a Accordion. In each accordion container i put a table with 2 rows and 3 columns. 1 row is for the header, the 2nd row for all the controls. In the 1st column i put plain text controls. The 2nd columns had a person field and the 3rd column a date field. In the editor everything is perfectly aligned. When looking at the form in the browser the controls are not vertically aligned. I managed to get the date column vertically aligned by adjusting the height. Not a very clean way... there must be a better solution? Now i'm trying to get the plain text field vertically aligned but whatever i try, the plain text field doesn't change. See entries under .titelcell
The current result looks like this: I've also tried to put each field in a seperate table cell. The effect however was the same. Can you tell me what i'm doing wrong?