summaryrefslogtreecommitdiff
path: root/winrt/mupdf_cpp/MainPage.xaml
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2013-05-06 13:41:42 -0700
committerRobin Watts <robin.watts@artifex.com>2013-05-16 19:25:46 +0100
commit7a9a18d03019ee21bd9c3362523d5599e03dd919 (patch)
treefbbf7ceb887cff58e9303f1bd5d9b43c348cc959 /winrt/mupdf_cpp/MainPage.xaml
parent7b861bf1835bc247bcc2016e72899f5672d0fa61 (diff)
downloadmupdf-7a9a18d03019ee21bd9c3362523d5599e03dd919.tar.xz
Addition of html viewing with winRT library call
Diffstat (limited to 'winrt/mupdf_cpp/MainPage.xaml')
-rw-r--r--winrt/mupdf_cpp/MainPage.xaml17
1 files changed, 7 insertions, 10 deletions
diff --git a/winrt/mupdf_cpp/MainPage.xaml b/winrt/mupdf_cpp/MainPage.xaml
index 54318e75..b9af3dd9 100644
--- a/winrt/mupdf_cpp/MainPage.xaml
+++ b/winrt/mupdf_cpp/MainPage.xaml
@@ -134,16 +134,13 @@
</ListView.Background>
</ListView>
</Grid>
- <StackPanel x:Name="xaml_RichGrid" Orientation="Vertical" Margin="5,5,5,50"
- Width="Auto" Height="Auto" Visibility="Collapsed">
- <TextBlock HorizontalAlignment="Center" Text="FontSize:" FontSize="18" Margin="0, 10, 0, -10"/>
- <Slider x:Name="fontSizeSlider" Width="200" Value="20" Minimum="8" Maximum="40"
- TickFrequency="4" Orientation="Horizontal" HorizontalAlignment="Center" />
- <RichEditBox x:Name="xaml_RichText" FontSize="{Binding Value, ElementName=fontSizeSlider}"
- Visibility="Collapsed" HorizontalAlignment="Center"
- VerticalAlignment="Top">
- </RichEditBox>
- </StackPanel>
+ <WebView x:Name="xaml_WebView" HorizontalAlignment="Stretch" Width="Auto" Height="Auto"
+ VerticalAlignment="Stretch" Visibility="Collapsed"
+ ScrollViewer.HorizontalScrollBarVisibility="Visible"
+ ScrollViewer.VerticalScrollBarVisibility="Visible"
+ ScrollViewer.VerticalScrollMode="Enabled"
+ ScrollViewer.HorizontalScrollMode="Enabled"
+ ScrollViewer.ZoomMode="Enabled"/>
</Grid>
</Page>