-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Labels
bugSomething isn't workingSomething isn't working
Description
NavigationViewItem's content is not vertically aligned and moves to further right as Pane opens. I attached simple sample project.
OS: Windows 11.
FluentAvalonia Version 2.3.0
Avalonia Version 11.3.2
Additional context
Templary fix seems to be to override following values.
<Thickness x:Key="NavigationViewItemContentPresenterMargin">0</Thickness>
<Thickness x:Key="NavigationViewPaneContentGridMargin">0,4,0,3</Thickness>
And in the NavigationViewItemStyles.axaml, change ControlTheme's Padding to "-2,0,2,0".
I have no idea if this workaround causes unwanted side effects. But so far, it is working for me.
Sample project
AvaloniaTest1.zip
PS. I'm very very new to Avalonia UI. So I may be missing something. Plus, English is not my first language, so... my English may sound weird.
Thank you for your great work!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

