Browse Source

fix: disable window size changing

tags/0.1.0
Timothy Liu 2 years ago
parent
commit
c631529b73
2 changed files with 6 additions and 2 deletions
  1. +3
    -1
      installer/Installer/MainWindow.xaml
  2. +3
    -1
      installer/InstallerUpdater/MainWindow.xaml

+ 3
- 1
installer/Installer/MainWindow.xaml View File

@@ -5,7 +5,9 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Installer" xmlns:c="clr-namespace:starter.viewmodel.common"
mc:Ignorable="d"
Title="Installer" Window.SizeToContent="WidthAndHeight">
Title="Installer" Window.SizeToContent="WidthAndHeight"
ResizeMode="CanMinimize"
>
<Window.Resources>
<c:RadioConverter x:Key="RadioConverter"/>
</Window.Resources>


+ 3
- 1
installer/InstallerUpdater/MainWindow.xaml View File

@@ -5,7 +5,9 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:InstallerUpdater"
mc:Ignorable="d"
Title="MainWindow" Height="180" Width="300">
Title="MainWindow" Height="180" Width="300"
ResizeMode="CanMinimize"
>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="40"/>


Loading…
Cancel
Save