mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 16:38:17 +02:00
merge 51092: lcl: grids: fix Wrong Alignment in TCustomGrid for Editor. Issue #29243, patch by Michl
git-svn-id: branches/fixes_1_6@51093 -
This commit is contained in:
parent
27cafa3cab
commit
51ce3a5ea1
@ -6640,8 +6640,8 @@ begin
|
||||
Editor.Parent:=Self;
|
||||
if FEditor=FStringEditor then
|
||||
begin
|
||||
if FCol<Columns.Count then
|
||||
FStringEditor.Alignment:=Columns[FCol].Alignment
|
||||
if FCol-FFixedCols<Columns.Count then
|
||||
FStringEditor.Alignment:=Columns[FCol-FFixedCols].Alignment
|
||||
else
|
||||
FStringEditor.Alignment:=taLeftJustify;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user