Skip to content

Commit

Permalink
Fixed not being able to resize from all panel sides (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
CriticalFlaw committed Oct 25, 2024
1 parent f6e5154 commit 6646fb2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/TF2HUD.Editor/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@
Height="900"
WindowStartupLocation="CenterScreen"
WindowStyle="None"
AllowsTransparency="True"
Background="Transparent"
ResizeMode="CanResizeWithGrip"
ResizeMode="CanResize"
FontFamily="../Resources/Fonts/TF2Secondary.ttf #TF2 Secondary"
FontSize="20px">

<WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="0"/>
</WindowChrome.WindowChrome>

<Border BorderThickness="2" CornerRadius="10" Background="#2B2724">
<Border BorderThickness="2" CornerRadius="10" Background="#2B2724" BorderBrush="#2B2724">
<Grid>
<!-- Custom Title Bar -->
<Border Background="#211e1c" Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Top" MouseDown="TitleBar_MouseDown">
Expand Down

0 comments on commit 6646fb2

Please sign in to comment.