|
5 | 5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 | 6 | xmlns:local="clr-namespace:UnityLauncherPro" |
7 | 7 | mc:Ignorable="d" |
8 | | -Title="Create New Project"Height="480"Width="450"Background="{DynamicResource ThemeDarkestBackground}"PreviewKeyDown="Window_PreviewKeyDown"ResizeMode="NoResize"WindowStartupLocation="CenterOwner"ShowInTaskbar="True"> |
| 8 | +Title="Create New Project"Height="480"Width="500"Background="{DynamicResource ThemeDarkestBackground}"PreviewKeyDown="Window_PreviewKeyDown"ResizeMode="NoResize"WindowStartupLocation="CenterOwner"ShowInTaskbar="True"> |
9 | 9 |
|
10 | 10 | <Grid> |
11 | 11 | <StackPanelMargin="10,3"> |
|
20 | 20 |
|
21 | 21 | <GridHorizontalAlignment="Stretch"Margin="0,3,0,0"> |
22 | 22 | <Grid.ColumnDefinitions> |
23 | | - <ColumnDefinitionWidth="40*"/> |
24 | | - <ColumnDefinitionWidth="20*"/> |
25 | | - <ColumnDefinitionWidth="40*"/> |
| 23 | + <ColumnDefinitionWidth="35*"/> |
| 24 | + <ColumnDefinitionWidth="15*"/> |
| 25 | + <ColumnDefinitionWidth="22*"/> |
| 26 | + <ColumnDefinitionWidth="10*"/> |
26 | 27 | </Grid.ColumnDefinitions> |
27 | 28 | <Labelx:Name="lblNewProjectNameLabel" Grid.Column="0"Content="Project Name:"Foreground="{DynamicResource ThemeButtonForeground}"Margin="0"Padding="0,5,5,0" /> |
28 | 29 | <Label Grid.Column="1"Content="Platform:"Foreground="{DynamicResource ThemeButtonForeground}"Margin="0"Padding="0,5,0,0" /> |
29 | 30 | <Labelx:Name="lblTemplateTitleAndCount" Grid.Column="2"Content="Templates:"Foreground="{DynamicResource ThemeButtonForeground}"Margin="0"Padding="5,5,5,0" /> |
| 31 | + <LabelContent="Override" Grid.Column="3"Foreground="{DynamicResource ThemeButtonForeground}"Margin="0"Padding="0,5,0,0"/> |
30 | 32 | </Grid> |
31 | 33 |
|
32 | 34 | <GridHorizontalAlignment="Stretch"Margin="0,3,0,0"> |
33 | 35 | <Grid.ColumnDefinitions> |
34 | | - <ColumnDefinitionWidth="40*"/> |
35 | | - <ColumnDefinitionWidth="20*"/> |
36 | | - <ColumnDefinitionWidth="40*"/> |
| 36 | + <ColumnDefinitionWidth="35*"/> |
| 37 | + <ColumnDefinitionWidth="15*"/> |
| 38 | + <ColumnDefinitionWidth="22*"/> |
| 39 | + <ColumnDefinitionWidth="10*"/> |
37 | 40 | </Grid.ColumnDefinitions> |
38 | 41 | <TextBox Grid.Column="0"x:Name="txtNewProjectName"VerticalAlignment="Center"IsUndoEnabled="True"TextChanged="TxtNewProjectName_TextChanged"PreviewKeyDown="TxtNewProjectName_PreviewKeyDown"TabIndex="0"Margin="0,2,6,2" /> |
39 | 42 | <ComboBox Grid.Column="1"x:Name="cmbNewProjectPlatform"SelectedIndex="0"Margin="0,0,0,0"TabIndex="2"DropDownOpened="CmbNewProjectPlatform_DropDownOpened" /> |
40 | 43 | <ComboBox Grid.Column="2"x:Name="cmbNewProjectTemplate"DisplayMemberPath="Key"SelectedIndex="0"Margin="6,0,0,0"TabIndex="2"DropDownOpened="CmbNewProjectTemplate_DropDownOpened" /> |
| 44 | + <CheckBox Grid.Column="3"x:Name="chkForceDX11"Content="DX11"ToolTip="Use DX11 instead of DX12"Margin="6,0,0,0"IsChecked="True"Checked="chkForceDX11_Checked"Unchecked="chkForceDX11_Checked"/> |
41 | 45 | </Grid> |
42 | 46 |
|
43 | 47 | <Labelx:Name="lblNewProjectFolder"Content="(folder)"Foreground="{DynamicResource ThemeButtonForegroundDisabled}"Margin="0"FontSize="10"Padding="5,0,5,3" /> |
|