mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 07:50:20 +02:00
LCL, grids bidi fixes: unable to show editor in some locations
git-svn-id: trunk@31548 -
This commit is contained in:
parent
a3238d132e
commit
60702c64ee
@ -7148,7 +7148,8 @@ begin
|
|||||||
// send editor bounds
|
// send editor bounds
|
||||||
Msg.CellRect:=CellRect(FCol,FRow);
|
Msg.CellRect:=CellRect(FCol,FRow);
|
||||||
if (Msg.CellRect.Top<FGCache.FixedHeight) or
|
if (Msg.CellRect.Top<FGCache.FixedHeight) or
|
||||||
(Msg.CellRect.Left<FGCache.FixedWidth) then
|
(UseRightToLeftAlignment and (Msg.CellRect.Right-1>FlipX(FGCache.FixedWidth))) or
|
||||||
|
(not UseRightToLeftAlignment and (Msg.CellRect.Left<FGCache.FixedWidth)) then
|
||||||
begin
|
begin
|
||||||
// editor is not in visible area, hide it complety
|
// editor is not in visible area, hide it complety
|
||||||
// to avoid showing it in fixed cell area
|
// to avoid showing it in fixed cell area
|
||||||
|
Loading…
Reference in New Issue
Block a user