Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
<controls:ListDetailsView BackButtonBehavior="Automatic"
ItemsSource="{Binding Emails}"
NoSelectionContent="Select an item to view"
CompactModeThresholdWidth="720">
CompactModeThresholdWidth="720"
ListPaneWidth="400">
<controls:ListDetailsView.ItemTemplate>
<DataTemplate>
<StackPanel Margin="0,8">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,10 @@ protected override void OnItemsChanged(object e)
/// </summary>
private void OnListPaneWidthChanged()
{
_twoPaneView.Pane1Length = new GridLength(ListPaneWidth);
if (_twoPaneView != null)
{
_twoPaneView.Pane1Length = new GridLength(ListPaneWidth);
}
}
}
}