You've already forked lazarus-ccr
fix button width for ButtonEditor in rxdbgrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2490 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -3549,9 +3549,17 @@ begin
|
||||
end;
|
||||
|
||||
if W>0 then
|
||||
begin
|
||||
if Editor.Name = 'ButtonEditor' then
|
||||
begin
|
||||
Editor.Left:=Editor.Left - W;
|
||||
W:=Editor.Width + Editor.Left;
|
||||
end
|
||||
else
|
||||
begin
|
||||
Editor.Width:=Editor.Width - W;
|
||||
W:=Editor.Width + Editor.Left;
|
||||
end;
|
||||
|
||||
for i:=0 to R.EditButtons.Count-1 do
|
||||
if R.EditButtons[i].Visible then
|
||||
|
Reference in New Issue
Block a user