views:

16

answers:

1

Hello the screenshot explains it: alt text

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.

A: 

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.

Kugel