Text alignment inconsistency when BidiMode = bdRightToLeft
Original Reporter info from Mantis: zoran
-
Reporter name: Zoran Vučenović
Original Reporter info from Mantis: zoran
- Reporter name: Zoran Vučenović
Description:
I noticed that text alignment in TLabel and TEdit controls behaves different when BidiMode = bdRightToLeft
TLabel aligns text contra to what the property name says:
when Alignment = taLeftToRight, then text is aligned to right side of the control; when taRightToLeft then to left side.
TEdit aligns text to right side of the control, with both taLeftToRight and taRightToLeft.
Steps to reproduce:
Put a label and an edit on a form.
Set form's BidiMode to bdRigthToLeft.
Set AutoSize of Label to False, make both controls wide to see the difference.
Change label's and edit's alignment and see how the controls behave.
Additional information:
TEdit's behaviour is probably a bug.
Please test in Delphi.
Mantis conversion info:
- Mantis ID: 38112
- Build: 64153
- Version: 2.1 (SVN)