Merge pull request #210 from Noggog/cpu-hog-bug

Fixed Infinite Layout Recalc Bug
This commit is contained in:
Timothy Baldridge 2019-11-24 05:51:49 -07:00 committed by GitHub
commit f737a0414e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,14 @@
Grid.Column="0"
Margin="0,0,2,0"
local:AutoScrollBehavior.ScrollOnNewItem="True"
ItemsSource="{Binding Log}" />
ItemsSource="{Binding Log}"
ScrollViewer.HorizontalScrollBarVisibility="Disabled">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding}" TextWrapping="WrapWithOverflow" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<ListBox
Grid.Column="2"
HorizontalAlignment="Stretch"