View Issue Details

IDProjectCategoryView StatusLast Update
0038112LazarusLCLpublic2020-11-22 00:13
ReporterZoran Vučenović Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version2.1 (SVN) 
Summary0038112: Text alignment inconsistency when BidiMode = bdRightToLeft
DescriptionI 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 ReproducePut 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 InformationTEdit's behaviour is probably a bug.
Please test in Delphi.
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

Zoran Vučenović

2020-11-22 00:13

developer   ~0127088

Tested in Windows 10, win widgetset.

Issue History

Date Modified Username Field Change
2020-11-22 00:07 Zoran Vučenović New Issue
2020-11-22 00:11 Zoran Vučenović LazTarget => -
2020-11-22 00:11 Zoran Vučenović Widgetset => Win32/Win64
2020-11-22 00:13 Zoran Vučenović Note Added: 0127088