Skip to content

[UX] Settings - fix header position #40160

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

niels9001
Copy link
Contributor

Summary of the Pull Request

Due to a padding in the scrollviewer hosting the settingspage content, the title drifts away upon resizing the settings window.
This PR fixes that issue by adding the (20px) padding to the maxwidth of the header textblock.

Before:
header

After:
header2

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

@niels9001 niels9001 requested a review from Copilot June 20, 2025 12:07
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the drifting header in the settings page by increasing its maximum width to account for the scroll viewer’s padding.

  • Introduces a new PageHeaderMaxWidth resource set to 1020 (PageMaxWidth + 20px padding).
  • Updates the Header TextBlock’s MaxWidth to use PageHeaderMaxWidth instead of PageMaxWidth.

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