Home

BUG: "View in Grid" hover arrow not displayed on grids after first screen of Results

When a Dump list is wider than the screen, LINQPad conveniently adds a hover arrow for the "view in grid" option in the upper right of the results so the user does not have to scroll horizontally to invoke "view in grid".

2018-11-23-10-49-39-Clipboard-YES-ARROW

However, if a later grid result from the same query is below the first screen scroll of Results, the hover arrow is not shown on the later grid, so the only way to invoke "view in grid" is to scroll all the way to the right and find the static arrow.

image

C# Program to reproduce:

void Main() { var l = new List<ExpandoObject>(); for (int j = 0; j < 20; j++) { var o = new ExpandoObject(); var d = (IDictionary<string, object>)o; for (int i = 0; i < 30; i++) d[$"Property{i}"] = $"Value{i}"; l.Add(o); } l.Dump("Dump 1"); l.Dump("Dump 2"); }

Set screen small enough or i and j max values large enough such that Dump grid is larger than the Result window, both vertically and horizontally. First grid will have the hover arrow, second grid will not.



Comments

  • I guess I'm trying to do something that's not possible with CSS.

    You can sort-of work around it with the following mod (Edit | Preferences > Results, custom style sheet editor)

    span.fixedextenser {
    position:absolute;
    }

    However, if you scroll horizontally, it will no longer position correctly.
Sign In or Register to comment.