开发者

Listbox items become too high for no reason?

开发者 https://www.devze.com 2023-01-19 17:56 出处:网络
Hello the screenshot explains it: Why are do the Items become so tall? I do no positioning myself: <ListBox Margin=\"6\" ItemsSource=\"{Binding RelativeSource={开发者_如何学运维RelativeSource Mo

Hello the screenshot explains it:

Listbox items become too high for no reason?

Why are do the Items become so tall? I do no positioning myself:

    <ListBox Margin="6" ItemsSource="{Binding RelativeSource={开发者_如何学运维RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}, Path=Segments}">
    </ListBox>

No ItemTemplate either I'm relying on default ToString() behaviour.


Sorry, I found the problem. Each Line is surrounded by newline characters.

I didn't see it immediately because the data is returned via IPC call from external program.

0

精彩评论

暂无评论...
验证码 换一张
取 消