David_Cox
(David Cox)
1
Since the default height of a Label is 20 and the default height of a TextField is 22, how do others align them on a form:
- Top
- Middle
- Bottom
- Resize them to be the same height eg Label to 22
I have usually chosen Top, but am open to a better alternative.
- Depends.
In a form, the top one is aligned to the top and the bottom one is aligned to the bottom. Intermediary (ies) is (are) aligned by the IDE.
Let the IDE snap the text baseline for you.
In this project I have handy it’s TextField.Top = 0 and Label.Top = 1.
MarkusR
(MarkusR)
4
i use also base line align in designer.
change height of label to 22 then it have the same top as your textfield, looks also good.