diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2013-05-07 23:30:46 -0700 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-05-16 19:25:51 +0100 |
commit | b1d1cad431495900378054fec3981221b17cdcb1 (patch) | |
tree | 43c425a30e6c02fa23e863152d02b933fcaf342f /winrt/mupdf_cpp/MainPage.xaml | |
parent | 085eae5dfc8086694f0ae703a843e8d92db38abe (diff) | |
download | mupdf-b1d1cad431495900378054fec3981221b17cdcb1.tar.xz |
Fix for crash with rotation of devices. Added rescale for thumb images with device rotation.
Diffstat (limited to 'winrt/mupdf_cpp/MainPage.xaml')
-rw-r--r-- | winrt/mupdf_cpp/MainPage.xaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winrt/mupdf_cpp/MainPage.xaml b/winrt/mupdf_cpp/MainPage.xaml index abaf7d36..e5083d63 100644 --- a/winrt/mupdf_cpp/MainPage.xaml +++ b/winrt/mupdf_cpp/MainPage.xaml @@ -98,7 +98,8 @@ <VirtualizingStackPanel Orientation="Vertical"/> </ItemsPanelTemplate> </FlipView.ItemsPanel> - <DataTemplate> + <FlipView.ItemTemplate> + <DataTemplate> <ScrollViewer ZoomMode="Enabled" ViewChanged="ScrollChanged" @@ -114,6 +115,7 @@ Stretch="Uniform" HorizontalAlignment="Center" Margin="0"/> </ScrollViewer> </DataTemplate> + </FlipView.ItemTemplate> </FlipView> </Canvas> |