Skip to content

fix(results): Grid / Groupings / Charts tabs no longer clip or overlap - #1272

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
fix/results-view-tabs-overlap
Oct 10, 2026
Merged

ZhuchkaTriplesix merged 2 commits into
devfrom
fix/results-view-tabs-overlap

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

Reported from the 120 Hz build: the Grid / Groupings / Charts buttons in the results toolbar look crooked and run into each other (PostgreSQL, but it is the shared results tab).

Cause: the strip sat in a fixed 240 x 32 box. A tab is taller than 32 (8 px vertical padding on both sides plus the 2 px focus border), so the tabs were clipped by the box, and at a larger UI or text scale "Groupings" no longer fit its share of 240 px and pushed into its neighbours.

Fix:

  • QueryaTabStrip gets dense (4 px vertical padding), sized for toolbars.
  • The results strip uses it without a fixed box; the strip already sizes itself to its labels (IntrinsicWidth).
  • The chart type strip (Bar / Line / Pie) had the same fixed 260 x 32 box and gets the same fix.

Test: the three tabs are laid out at 1.0, 1.3 and 1.6 text scale: no overlap, no layout exception.

Not touched: the other QueryaTabStrip users keep their normal padding. If the Data | Relations strip or the workspace tab bars look off too, tell me which and where.

Test plan

  • CI: all test sections pass (no local runs, per team rule)
  • Eyeball the toolbar on the 120 Hz build at the usual UI scale

The strip sat in a 240 x 32 box. A tab row is taller than 32 (8 px padding on
both sides plus a 2 px focus border), so the tabs were clipped, and at a
larger UI or text scale 'Groupings' ran into its neighbours.

QueryaTabStrip gets dense (4 px vertical padding) and the strip is no longer
boxed. The chart type strip (Bar / Line / Pie) had the same fixed 260 x 32
box and gets the same fix. A test lays the tabs out at 1.0, 1.3 and 1.6 text
scale and checks they do not overlap.
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 7edc3bb into dev Oct 10, 2026
15 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the fix/results-view-tabs-overlap branch October 11, 2026 15:02
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.

1 participant