Skip to content

UI: keep PivotTable field-list scrollbar at pane edge - #1485

Merged
aiongg merged 1 commit into
storytold:mainfrom
derechopiano:fix/pivot-field-list-scrollbar
Oct 22, 2026
Merged

aiongg merged 1 commit into
storytold:mainfrom
derechopiano:fix/pivot-field-list-scrollbar

Conversation

@derechopiano

Copy link
Copy Markdown
Contributor

With enough PivotTable source fields to scroll, the field-list scrollbar sits beside the longest field name, leaving empty space to its right. Make the source list use the pane's available width so the scrollbar stays at the list's right edge.

I compared an offscreen GridCraft render using 14 synthetic fields with the observed Excel layout. The scrollbar now appears at the pane edge; the list's height and field behaviour are unchanged. This uses the same horizontal auto_shrink setting already used by GridCraft's filter list.

Validation: cargo xtask ci passed locally (all eight stages), including the pre-commit and pre-push hooks. The visual render was inspected separately.

Related: #698 edits this same PivotTable source list for field dragging. When that branch is rebased, it should retain this width setting alongside its responsive-height logic.

@aiongg
aiongg merged commit d20fe88 into storytold:main Oct 22, 2026
1 check passed
FredApps added a commit that referenced this pull request Nov 18, 2026
silend pushed a commit to silend/gridcraft that referenced this pull request Nov 18, 2026
… the pane edge

storytold#1485 let the field list take the pane's width so its scrollbar sits at the pane edge, without a test. With 14 short field names the scrollbar otherwise sits beside them, about 250 px from the edge.
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.

2 participants