Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regression with SegmentedButton on different DPIs #2452

Merged

Conversation

cwensley
Copy link
Member

Using half-pixel borders made them disappear in 100% DPI or have odd widths on other DPIs. Instead we now use the margin to overlap the buttons, and Panel.ZIndex to bring them in front when checked, mouse over, or pressed.

@cwensley cwensley added the bug label Mar 24, 2023
@cwensley cwensley added this to the 2.7.4 milestone Mar 24, 2023
@cwensley cwensley merged commit c89cf07 into picoe:develop Mar 24, 2023
3 checks passed
@cwensley cwensley deleted the curtis/wpf-fix-segmentedbutton-dividers branch March 24, 2023 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant