NavigationView "crop" items text if PaneDisplayMode=LeftFluent #1086
Unanswered
marcoaoteixeira
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I started to play with WPF-UI and I think it's really great, so thank you guys for all effort that was put into it.
Ok, now, I'm pretty new to the WPF world and I'm a little bit frustrated with something. When using NavigationView, if I set PaneDisplayMode to LeftFluent, it "crops" the item text if it's too large. The sample in WPFUI Gallery has the same issue.
I try to use Snoop to find if there was a property that could change this behavior and what I found was that the Border control (MainBorder), inside the NavigationViewItem has a fixed width value of 60, defined in a resource called NavigationViewConstants (PaneFluentButtonWidth). If I change it (with Snoop) to another value, let's say 120, we then have more "room" and the text is displayed correctly.
So, my question, is there a way to change PaneFluentButtonWidth? Without need to override the NavigationViewItem whole template.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions