Skip to content

fix(ui): keep segmented control track insets even - #831

Merged
DavidBabinec merged 2 commits into
mainfrom
fix/segmented-control-track-insets
Nov 25, 2026
Merged

DavidBabinec merged 2 commits into
mainfrom
fix/segmented-control-track-insets

Conversation

@DavidBabinec

Copy link
Copy Markdown
Contributor

Use a fixed 3px vertical inset on the shared segmented control. Fluid padding could round to different rows above and below the pressed button. Horizontal spacing still uses the responsive spacing token and micro controls retain their zero vertical padding.

The usage reference now documents how to distribute options evenly with the existing fullWidth prop.

Verified with the segmentedControlChrome component tests and by measuring the rendered control at 1×, 1.5×, and 2× in Chromium.

@DavidBabinec
DavidBabinec marked this pull request as ready for review November 25, 2026 10:12
@DavidBabinec
DavidBabinec merged commit a42b41d into main Nov 25, 2026
13 checks passed
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