开发者

Listbox items become too high for no reason?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜