mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 21:00:34 +02:00
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:
parent
3054d073cf
commit
d60896d479
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user