Hello Boki.
Example is very easy (See attachment. Run and change form height).
I search the trivial solution by changing the order of strings in GetClientCount:
CODE
function TNxCustomInspector.GetClientCount: Integer;
var
i, Y: Integer;
begin
Result := 0;
Y := 0;
for i := VertScrollBar.Position to Pred(FItems.NodesCount) do
begin
if not FItems.Node[i].Hidden then
begin
//Old strings:
// Inc(Result);
// Inc(Y, RowHeight + GetGridSpace);
// if Y > ClientHeight then Exit;
// New strings:
Inc(Y, RowHeight + GetGridSpace);
if Y > ClientHeight then Exit;
Inc(Result);
end;
end;
end;
Check this out, please.
Best regards.