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

NavigationPaneSize is not woking when displayMode is PaneDisplayMode.minimal #867

Closed
ZHIN opened this issue Jun 23, 2023 · 0 comments · Fixed by #868
Closed

NavigationPaneSize is not woking when displayMode is PaneDisplayMode.minimal #867

ZHIN opened this issue Jun 23, 2023 · 0 comments · Fixed by #868
Labels
bug Something isn't working

Comments

@ZHIN
Copy link
Contributor

ZHIN commented Jun 23, 2023

Describe the bug
I set the size of NavigationView to NavigationPaneSize(openWidth: 200, openMinWidth: 200, openMaxWidth: 200). However, when the window mode is switched to PaneDisplayMode.minimal, the width of NavigationView remains default kOpenNavigationPaneWidth.

NavigationView(
...
size: NavigationPaneSize(openWidth: 200, openMinWidth: 200, openMaxWidth: 200)
...);

Expected behavior

Screenshots
displayMode is PaneDisplayMode.minimal
image

image

ZHIN pushed a commit to ZHIN/fluent_ui that referenced this issue Jun 23, 2023
ZHIN added a commit to ZHIN/fluent_ui that referenced this issue Jun 23, 2023
@bdlukaa bdlukaa added the bug Something isn't working label Jul 5, 2023
@bdlukaa bdlukaa linked a pull request Jul 5, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants