Skip to content

Commit

Permalink
Make close button easier to hit (#8)
Browse files Browse the repository at this point in the history
Before only a line from close icon was active. This change makes it
intended 30x30 box instead.
  • Loading branch information
keton authored Jan 14, 2024
1 parent cbd971f commit 4221f08
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions UEVR/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,9 @@
Background="Transparent"
BorderBrush="Transparent"
HorizontalAlignment="Right"
Style="{StaticResource MaterialDesignFloatingActionMiniButton}"
>
<materialDesign:PackIcon Kind="Close" HorizontalAlignment="Center" Height="30" Width="30">
</materialDesign:PackIcon>
<Button.Template>
<ControlTemplate TargetType="Button">
<ContentPresenter Content="{TemplateBinding Content}" />
</ControlTemplate>
</Button.Template>
<materialDesign:PackIcon Kind="Close" HorizontalAlignment="Center" Height="30" Width="30" />
</Button>
</DockPanel>
</Border>
Expand Down

0 comments on commit 4221f08

Please sign in to comment.