Skip to content

Weird ListBox behavior inside SplitView Pane #580

Closed Answered by LSXAxeller
LSXAxeller asked this question in Q&A
Discussion options

You must be logged in to vote

after investigating with DevTools thanks to @timunie for bringing it up, I found that ListBoxItem.HorizontalAlignment="Left" fixes it

<Window.Styles>
        <Style Selector="ListBoxItem">
            <Setter Property="HorizontalAlignment" Value="Left" />
        </Style>
    </Window.Styles>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by LSXAxeller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants