Skip to content

Commit

Permalink
Fix ScrollBar in options
Browse files Browse the repository at this point in the history
  • Loading branch information
Zawodowiec1532 authored and azeier committed Apr 3, 2018
1 parent 6cb557d commit 7a7ecbb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Hearthstone Deck Tracker/FlyoutControls/Options/OptionsMain.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,9 @@
</DockPanel>
</Border>
<GroupBox Header="{Binding ContentHeader}">
<StackPanel>
<StackPanel Visibility="{Binding HSReplayHeaderVisibility}">
<Image Source="../../Resources/hsreplay_banner.jpg"
RenderOptions.BitmapScalingMode="Fant"
Margin="-4">
<DockPanel>
<StackPanel Visibility="{Binding HSReplayHeaderVisibility}" DockPanel.Dock="Top">
<Image Source="../../Resources/hsreplay_banner.jpg" RenderOptions.BitmapScalingMode="Fant" Margin="-4">
<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseDown" >
<i:InvokeCommandAction Command="{Binding HSReplayBannerCommand}"/>
Expand All @@ -67,7 +65,7 @@
<ScrollViewer VerticalScrollBarVisibility="Auto">
<ContentControl Content="{Binding OptionsContent}"/>
</ScrollViewer>
</StackPanel>
</DockPanel>
</GroupBox>
</DockPanel>
</UserControl>

0 comments on commit 7a7ecbb

Please sign in to comment.