summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-12-15 22:40:06 +0000
committersr55 <[email protected]>2017-12-15 22:40:06 +0000
commit7244ea454654b4b6d8f97f33174303445edb08ff (patch)
treea056e203998eeb00c01f41f1bf4feb9fcecb2689 /win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
parentadd6e2ac430652a96ff6fd1a72824796064e259f (diff)
WinGui: Add % Actual Size to the static preview window title.
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml b/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
index c7eb5fb09..2ec3dcaa3 100644
--- a/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
+++ b/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
@@ -9,7 +9,6 @@
mc:Ignorable="d" SizeToContent="WidthAndHeight"
TextOptions.TextFormattingMode="Display"
WindowStartupLocation="CenterScreen"
- cal:Message.Attach="[Event SizeChanged] = [Action PreviewSizeChanged($eventArgs)]"
Title="{Binding Title}">
<Window.Resources>
@@ -21,7 +20,7 @@
<TextBlock Text="No Preview Available" VerticalAlignment="Center" Padding="60,60,60,60" FontWeight="Bold" FontSize="25" Foreground="DarkGray" />
</StackPanel>
- <Image Source="{Binding PreviewImage}" MaxWidth="{Binding Width}" MaxHeight="{Binding Height}" MouseWheel="PreviewImage_OnMouseWheel" />
+ <Image x:Name="previewImage" Source="{Binding PreviewImage}" MaxWidth="{Binding Width}" MaxHeight="{Binding Height}" MouseWheel="PreviewImage_OnMouseWheel" />
<Border BorderBrush="WhiteSmoke" BorderThickness="1,1,1,1" CornerRadius="8,8,8,8" Padding="8"