Align controls in table
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?
Hello Jacob,
It will be quite challenging to align controls and fields to be on the same horizontal level.
Why don't you place controls and fields side by side like this:
You can set the width of the Plain text controls and fields and that should make the trick.
It will be quite challenging to align controls and fields to be on the same horizontal level.
Why don't you place controls and fields side by side like this:
You can set the width of the Plain text controls and fields and that should make the trick.
Hello Jacob,
I'm sorry for the delayed reply,
The difference is that when you place controls in the different tables they are aligned to the table. If you place them as I've suggested, you will not have to change the hight, the controls will be aligned in one line.
I'm sorry for the delayed reply,
The difference is that when you place controls in the different tables they are aligned to the table. If you place them as I've suggested, you will not have to change the hight, the controls will be aligned in one line.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests