Skip to content

Conversation

@Koichi-Kobayashi
Copy link
Contributor

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

Issue Number: N/A

What is the new behavior?

  • Even if you set the FrameMargin of ui:NavigationView to 0, FrameMarginDefault is always set.
  • Setting FrameMarginDefault where the FrameMargin dependency property is registered works fine.
OverwriteFrameMargin_2025-08-24_12h58_28

Other information

@github-actions github-actions bot added controls Changes to the appearance or logic of custom controls. PR Pull request navigation Changes to navigation related controls. dotnet release labels Aug 24, 2025
@pomianowski pomianowski changed the title Fixed FrameMargin being overwritten by OnTitleBarChanged. fix: Fixed FrameMargin being overwritten by OnTitleBarChanged. Nov 7, 2025
@pomianowski pomianowski changed the title fix: Fixed FrameMargin being overwritten by OnTitleBarChanged. fix: Fixed NavigationView FrameMargin being overwritten by OnTitleBarChanged. Nov 7, 2025
pomianowski
pomianowski previously approved these changes Nov 7, 2025
Copy link
Collaborator

@Nuklon Nuklon left a comment

Choose a reason for hiding this comment

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

This breaks the UI, the navigation view is now rendered completely at the top of the window. You can check this with the gallery app.

--> Just a case of removing FrameMargin="0" from Gallery MainWindow, so this would need to be added to the PR.

@pomianowski pomianowski dismissed their stale review January 10, 2026 14:42

breaking changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controls Changes to the appearance or logic of custom controls. dotnet navigation Changes to navigation related controls. PR Pull request release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants