mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 21:39:21 +02:00
lcl: grids: fix Wrong Alignment in TCustomGrid for Editor. Issue #29243, patch by Michl
git-svn-id: trunk@51092 -
This commit is contained in:
parent
59e349c1ae
commit
0246f8c565
@ -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