EverythingToolbar icon indicating copy to clipboard operation
EverythingToolbar copied to clipboard

Use DataGrid for columnar item templates

Open dev-deeper opened this issue 3 months ago • 2 comments

Preflight Checklist

  • [x] I have fully read the README and it did not solve the problem.
  • [x] I have read the FAQ and it did not solve the problem.
  • [x] I have searched all open and closed issues for the same bug report without success.

EverythingToolbar Version

2.0.3

Variant

Search icon / Launcher

Everything Version

1.4.1.1028 (x64)

Windows Version

Windows 11 Pro 24H2 (build 26100.4946)

Steps to reproduce

  1. Enable detailed view UI mode: EverythingToolbar preferences -> User Interface -> Appearance -> View -> "Compact (detailed)"
  2. Open search window

Expected Behavior

The search results are properly aligned along a vertical axis.

Actual Behavior

The search results are slightly misaligned vertically.

Screenshots

Image

Log output

2025-08-26 22:47:32.2227|INFO|Launcher|EverythingToolbar 2.0.3.0 started. OS: Microsoft Windows NT 10.0.26100.0| 2025-08-26 22:47:35.9676|INFO|EverythingToolbar.Search.SearchResultProvider|Everything version: 1.4.1|

Additional Information

No response

Final Checklist

  • [x] I have provided detailed, clear information in all required fields above and put genuine effort into this bug report.

dev-deeper avatar Aug 26 '25 20:08 dev-deeper

As @DoLovya said in a previous comment, this is due to the use of ListView rather than DataGrid.

It is possible to accomplish shared column width by using the SharedSizeGroup property, but this causes quite noticable rendering performance degradation.

Purely switching to a DataGrid however wouldn't work either as it would break the support for other item templates like "Normal (detailed)" that consists of a more complex layout.

The best solution would probably be a hybrid approach using DataGrid or ListView depending on the selected item template.

srwi avatar Sep 13 '25 16:09 srwi

@srwi Well, I tried SharedSizeGroup but found it couldn't achieve the perfect effect of the DataGrid. Using UserControl might be the best solution. Should we consider using the RegionManager concept from Prism for this?

DoLovya avatar Sep 14 '25 05:09 DoLovya