mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 05:57:21 +01:00
grids: fix inplace editor horizontal margins. Patch by wp. Issue #30054
git-svn-id: trunk@52247 -
This commit is contained in:
parent
178c43a3f6
commit
f70e004d69
@ -56,6 +56,8 @@ begin
|
||||
Result:=ACellRect;
|
||||
Dec(Result.Right);
|
||||
Dec(Result.Bottom);
|
||||
Inc(Result.Left, constCellPadding);
|
||||
Dec(Result.Right, constCellPadding);
|
||||
TextHeight := ACanvas.TextHeight(' ');
|
||||
case AColumnLayout of
|
||||
tlTop: EditorTop:=Result.Top+constCellPadding;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user