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:
@@ -3550,8 +3550,16 @@ begin
|
|||||||
|
|
||||||
if W>0 then
|
if W>0 then
|
||||||
begin
|
begin
|
||||||
Editor.Width:=Editor.Width - W;
|
if Editor.Name = 'ButtonEditor' then
|
||||||
W:=Editor.Width + Editor.Left;
|
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
|
for i:=0 to R.EditButtons.Count-1 do
|
||||||
if R.EditButtons[i].Visible then
|
if R.EditButtons[i].Visible then
|
||||||
|
Reference in New Issue
Block a user