Skip to content

Reduce the gap between object rows - #296

Merged
Eli Pinkerton (wallstop) merged 1 commit into
fix/populated-host-testsfrom
fix/compact-object-rows
Oct 19, 2026
Merged

Eli Pinkerton (wallstop) merged 1 commit into
fix/populated-host-testsfrom
fix/compact-object-rows

Conversation

@wallstop

@wallstop Eli Pinkerton (wallstop) commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

DISCLOSURE: LLM-GENERATED TEXT

Why: Object rows leave too much vertical space between cards.

What:

  • Reduce the default gap by 60 percent.
  • Keep card padding and action controls unchanged.
  • Check row and control bounds in all shipped themes.
  • Refresh the README layout image.

Compact object rows

Fixes #292.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)

Checklist

  • I have added tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have updated the CHANGELOG for user-facing changes
  • My changes do not introduce breaking changes, or breaking changes are documented

Note

Low Risk
Layout-only constant tweak with regression tests across themes; no data, auth, or API behavior changes.

Overview
Tightens the virtualized object ListView by lowering ObjectRowFixedHeight from 46px to 40px, cutting the default vertical gap between object cards by more than half without changing card padding or action controls.

Adds an editor UnityTest (ObjectRowLayoutTests) that builds paired object rows, applies every shipped theme (Dx, Classic, Nord, Dracula, Compact, Minimal), and asserts cards do not overlap, Dx gap stays ≤5px, and row buttons remain inside each card’s bounds. CHANGELOG documents the layout change for #292.

Reviewed by Cursor Bugbot for commit c7ec4e5. Bugbot is set up for automated code reviews on this repo. Configure here.

Object rows leave excessive vertical space. Reduce the fixed slot from 46 to 40 points while retaining card and control dimensions. Share the slot height with ListView virtualization.

Rendered Dx gap falls from 10 to 4 pixels at pixelsPerPoint 1, a 60 percent reduction. The new render regression fails at 10 points on the base and passes for all six shipped themes after the fix. Refresh the README layout capture and its pixel-verified lossless WebP.

The full EditMode rerun passes 395 tests. One earlier run failed an existing theme-reset color transition assertion; its focused rerun passes. The 17-step repository gate and scoped image exporter tests pass. Revert this commit to restore prior spacing.

Fixes #292.
@wallstop
Eli Pinkerton (wallstop) added this pull request to stack #297 October 18, 2026 20:39

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c7ec4e5. Configure here.

Comment thread Tests/Editor/ObjectRowLayoutTests.cs
@wallstop
Eli Pinkerton (wallstop) merged commit b8306c1 into main Oct 19, 2026
5 checks passed
@wallstop
Eli Pinkerton (wallstop) deleted the fix/compact-object-rows branch October 19, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Reduce visual space (by default) between object item rows

1 participant