LCL/grids: Fix position of grid header icons in case of right-to-left mode.

git-svn-id: trunk@57977 -
This commit is contained in:
wp 2018-05-20 07:46:03 +00:00
parent 3054d073cf
commit d60896d479

View File

@ -5408,6 +5408,12 @@ begin
ImgIndex := -1;
ImgLayout := blGlyphRight;
end;
if IsRightToLeft then begin
if ImgLayout = blGlyphRight then
ImgLayout := blGlyphLeft
else if ImgLayout = blGlyphLeft then
ImgLayout := blGlyphRight;
end;
end;
procedure TCustomGrid.GetSortTitleImageInfo(aColumnIndex: Integer; out