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

NavigationView: Fix issue where disabling settings would still show gap #4193

Conversation

marcelwgn
Copy link
Collaborator

@marcelwgn marcelwgn commented Feb 15, 2021

Description

Remove min-height setters as those didn't do anything and update layouting logic to handle cases where one of the collections is empty correctly.

@carlos-zamora FYI :)

Motivation and Context

Closes #3900
Closes #3771

How Has This Been Tested?

Add two new interaction tests. The test page has also been updated to have the tests run a bit faster since we hit "breaking" conditions earlier. As part of that, I needed to adjust some numbers in existing tests.

Screenshots (if appropriate):

Image showing NavigationView with overfull list of menuitems and settings being disabled showing no gap at the bottom.

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Feb 15, 2021
@StephenLPeters StephenLPeters added area-NavigationView NavView control team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Feb 17, 2021
@ranjeshj ranjeshj requested a review from karkarl February 19, 2021 15:17
@ranjeshj
Copy link
Contributor

ranjeshj commented Mar 9, 2021

@chingucoding can you merge with master ?

@marcelwgn
Copy link
Collaborator Author

Merged now @ranjeshj (same for #3860).

@beervoley
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@beervoley
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…acing-fix' of

github.com:chingucoding/microsoft-ui-xaml into user/chingucoding/navigationview-no-settings-spacing-fix
@beervoley
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@beervoley
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…x' of github.com:chingucoding/microsoft-ui-xaml into user/chingucoding/navigationview-no-settings-spacing-fix
@beervoley
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@StephenLPeters StephenLPeters left a comment

Choose a reason for hiding this comment

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

:shipit:

@beervoley beervoley merged commit b26e02c into microsoft:master Apr 8, 2021
@beervoley
Copy link
Contributor

@chingucoding thanks for your help!!!

@marcelwgn marcelwgn deleted the user/chingucoding/navigationview-no-settings-spacing-fix branch April 8, 2021 18:32
@marcelwgn
Copy link
Collaborator Author

Pleasure helping out! Thank you @beervoley in assisting this PR!

Kinnara added a commit to Kinnara/ModernWpf that referenced this pull request Dec 8, 2023
Kinnara added a commit to Kinnara/ModernWpf that referenced this pull request Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NavigationView NavView control team-Controls Issue for the Controls team
Projects
None yet
5 participants