summaryrefslogtreecommitdiff
path: root/winrt/mupdf_cpp/MainPage.xaml
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2013-05-10 15:20:08 -0700
committerRobin Watts <robin.watts@artifex.com>2013-05-16 19:25:57 +0100
commit7afefc8342853df50dc1e1a192415cd1164a7382 (patch)
treedd7924dc87f6ba2f5168ddab92755a604a5f2570 /winrt/mupdf_cpp/MainPage.xaml
parent33280868285321bfa3e7e8cad7b77dbfa5ca26f6 (diff)
downloadmupdf-7afefc8342853df50dc1e1a192415cd1164a7382.tar.xz
Implemented zooming and fixed and simplified the binding of several objects to the UI XAML
Diffstat (limited to 'winrt/mupdf_cpp/MainPage.xaml')
-rw-r--r--winrt/mupdf_cpp/MainPage.xaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/winrt/mupdf_cpp/MainPage.xaml b/winrt/mupdf_cpp/MainPage.xaml
index deb262cc..54226eac 100644
--- a/winrt/mupdf_cpp/MainPage.xaml
+++ b/winrt/mupdf_cpp/MainPage.xaml
@@ -82,7 +82,7 @@
HorizontalSnapPointsType="None"
HorizontalScrollBarVisibility="Auto"
VerticalScrollBarVisibility="Auto"
- MinZoomFactor="1"
+ MinZoomFactor="0.25"
MaxZoomFactor="4">
<Canvas HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="{Binding Height}" Width="{Binding Width}">
<Image Source="{Binding Image}" Width="{Binding Width}" Height="{Binding Height}"
@@ -160,7 +160,7 @@
HorizontalSnapPointsType="None"
HorizontalScrollBarVisibility="Auto"
VerticalScrollBarVisibility="Auto"
- MinZoomFactor="1"
+ MinZoomFactor="0.25"
MaxZoomFactor="4">
<Canvas HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="{Binding Height}" Width="{Binding Width}">
<Image Source="{Binding Image}" Width="{Binding Width}" Height="{Binding Height}"