|
12 | 12 | d:DesignWidth="800" |
13 | 13 | x:DataType="model:AddGameModel" |
14 | 14 | mc:Ignorable="d"> |
15 | | - <ScrollViewer VerticalScrollBarVisibility="Visible"> |
16 | | - <Border Margin="20,10,20,20" Classes="t2"> |
17 | | - <DockPanel Margin="15,15,5,15"> |
18 | | - <Button |
19 | | - Width="100" |
20 | | - Height="35" |
21 | | - Margin="-2,-2,7,-2" |
22 | | - HorizontalAlignment="Right" |
23 | | - VerticalAlignment="Center" |
24 | | - Classes="top" |
25 | | - Command="{Binding AddPackGame}" |
26 | | - Content="{setting:Localize AddGameWindow.Text1}" |
27 | | - DockPanel.Dock="Bottom" |
28 | | - ToolTip.Tip="{setting:Localize ToolTip.Text84}" /> |
29 | | - <StackPanel> |
| 15 | + <Border Margin="20,10,20,20" Classes="t2"> |
| 16 | + <DockPanel Margin="15,15,5,15"> |
| 17 | + <Button |
| 18 | + Width="100" |
| 19 | + Height="35" |
| 20 | + Margin="-2,-2,7,-2" |
| 21 | + HorizontalAlignment="Right" |
| 22 | + VerticalAlignment="Center" |
| 23 | + Classes="top" |
| 24 | + Command="{Binding AddPackGame}" |
| 25 | + Content="{setting:Localize AddGameWindow.Text1}" |
| 26 | + DockPanel.Dock="Bottom" |
| 27 | + ToolTip.Tip="{setting:Localize ToolTip.Text84}" /> |
| 28 | + <StackPanel DockPanel.Dock="Top"> |
| 29 | + <TextBox |
| 30 | + Margin="0,0,10,10" |
| 31 | + HorizontalAlignment="Stretch" |
| 32 | + Text="{Binding Name}" |
| 33 | + Watermark="{setting:Localize AddGameWindow.Tab1.Text2}" /> |
| 34 | + <DockPanel Margin="0,0,10,10"> |
| 35 | + <Button |
| 36 | + Width="100" |
| 37 | + Height="35" |
| 38 | + Margin="-2,-2,-3,-2" |
| 39 | + HorizontalAlignment="Right" |
| 40 | + VerticalAlignment="Center" |
| 41 | + Classes="top" |
| 42 | + Command="{Binding SelectPack}" |
| 43 | + Content="{setting:Localize AddGameWindow.Tab2.Text3}" |
| 44 | + DockPanel.Dock="Right" |
| 45 | + ToolTip.Tip="{setting:Localize ToolTip.Text85}" /> |
30 | 46 | <TextBox |
31 | | - Margin="0,0,10,10" |
| 47 | + Margin="0,0,10,0" |
32 | 48 | HorizontalAlignment="Stretch" |
33 | | - Text="{Binding Name}" |
34 | | - Watermark="{setting:Localize AddGameWindow.Tab1.Text2}" /> |
35 | | - <DockPanel Margin="0,0,10,10"> |
36 | | - <Button |
37 | | - Width="100" |
38 | | - Height="35" |
39 | | - Margin="-2,-2,-3,-2" |
40 | | - HorizontalAlignment="Right" |
41 | | - VerticalAlignment="Center" |
42 | | - Classes="top" |
43 | | - Command="{Binding SelectPack}" |
44 | | - Content="{setting:Localize AddGameWindow.Tab2.Text3}" |
45 | | - DockPanel.Dock="Right" |
46 | | - ToolTip.Tip="{setting:Localize ToolTip.Text85}" /> |
47 | | - <TextBox |
48 | | - Margin="0,0,10,0" |
| 49 | + Text="{Binding ZipLocal}" |
| 50 | + Watermark="{setting:Localize AddGameWindow.Tab2.Text1}" /> |
| 51 | + </DockPanel> |
| 52 | + <Grid ColumnDefinitions="*,*"> |
| 53 | + <DockPanel Margin="0,0,10,0"> |
| 54 | + <TextBlock Margin="0,0,5,0" Text="{setting:Localize AddGameWindow.Tab2.Text2}" /> |
| 55 | + <ComboBox |
49 | 56 | HorizontalAlignment="Stretch" |
50 | | - Text="{Binding ZipLocal}" |
51 | | - Watermark="{setting:Localize AddGameWindow.Tab2.Text1}" /> |
| 57 | + ItemsSource="{Binding PackTypeList}" |
| 58 | + SelectedIndex="{Binding Type}" /> |
52 | 59 | </DockPanel> |
53 | | - <Grid ColumnDefinitions="*,*"> |
54 | | - <DockPanel Margin="0,0,10,0"> |
55 | | - <TextBlock Margin="0,0,5,0" Text="{setting:Localize AddGameWindow.Tab2.Text2}" /> |
56 | | - <ComboBox |
57 | | - HorizontalAlignment="Stretch" |
58 | | - ItemsSource="{Binding PackTypeList}" |
59 | | - SelectedIndex="{Binding Type}" /> |
60 | | - </DockPanel> |
61 | | - <DockPanel Grid.Column="1" Margin="0,0,10,0"> |
62 | | - <TextBlock Margin="0,0,5,0" Text="{setting:Localize AddGameWindow.Tab1.Text5}" /> |
63 | | - <ComboBox |
64 | | - HorizontalAlignment="Stretch" |
65 | | - IsEditable="True" |
66 | | - ItemsSource="{Binding GroupList}" |
67 | | - Text="{Binding Group}" /> |
68 | | - </DockPanel> |
69 | | - </Grid> |
70 | | - <TreeDataGrid Margin="0,0,10,0" Source="{Binding ZipFiles}" /> |
71 | | - |
72 | | - </StackPanel> |
73 | | - </DockPanel> |
74 | | - </Border> |
75 | | - </ScrollViewer> |
| 60 | + <DockPanel Grid.Column="1" Margin="0,0,10,0"> |
| 61 | + <TextBlock Margin="0,0,5,0" Text="{setting:Localize AddGameWindow.Tab1.Text5}" /> |
| 62 | + <ComboBox |
| 63 | + HorizontalAlignment="Stretch" |
| 64 | + IsEditable="True" |
| 65 | + ItemsSource="{Binding GroupList}" |
| 66 | + Text="{Binding Group}" /> |
| 67 | + </DockPanel> |
| 68 | + </Grid> |
| 69 | + </StackPanel> |
| 70 | + <TreeDataGrid Margin="0,10,10,10" Source="{Binding ZipFiles}" /> |
| 71 | + </DockPanel> |
| 72 | + </Border> |
76 | 73 | </UserControl> |
0 commit comments