|
42 | 42 | Path="/Resource/Icon/GameEdit/svg1.svg" /> |
43 | 43 | <TextBlock FontSize="{setting:Style FontTitle}" Text="{setting:Localize Text.GameVersion}" /> |
44 | 44 | </StackPanel> |
45 | | - <WrapPanel IsEnabled="{Binding !IsLoad}"> |
46 | | - <DockPanel MinWidth="230" Margin="0,0,10,10"> |
47 | | - <TextBlock Margin="0,0,5,0" Text="{setting:Localize Text.Type}" /> |
48 | | - <ComboBox |
49 | | - HorizontalAlignment="Stretch" |
50 | | - ItemsSource="{Binding VersionTypeList}" |
51 | | - SelectedIndex="{Binding VersionType}" /> |
52 | | - </DockPanel> |
53 | | - <DockPanel MinWidth="230" Margin="0,0,10,10"> |
54 | | - <TextBlock Margin="0,0,5,0" Text="{setting:Localize Text.Version}" /> |
55 | | - <ComboBox |
56 | | - HorizontalAlignment="Stretch" |
57 | | - ItemsSource="{Binding GameVersionList}" |
58 | | - SelectedItem="{Binding Version}" /> |
59 | | - </DockPanel> |
| 45 | + <Grid |
| 46 | + Margin="0,0,0,10" |
| 47 | + ColumnDefinitions="auto,*,auto,*,auto" |
| 48 | + IsEnabled="{Binding !IsLoad}"> |
| 49 | + <TextBlock Margin="0,0,5,0" Text="{setting:Localize Text.Type}" /> |
| 50 | + <ComboBox |
| 51 | + Grid.Column="1" |
| 52 | + Margin="0,0,10,0" |
| 53 | + HorizontalAlignment="Stretch" |
| 54 | + ItemsSource="{Binding VersionTypeList}" |
| 55 | + SelectedIndex="{Binding VersionType}" /> |
| 56 | + <TextBlock |
| 57 | + Grid.Column="2" |
| 58 | + Margin="0,0,5,0" |
| 59 | + Text="{setting:Localize Text.Version}" /> |
| 60 | + <ComboBox |
| 61 | + Grid.Column="3" |
| 62 | + HorizontalAlignment="Stretch" |
| 63 | + ItemsSource="{Binding GameVersionList}" |
| 64 | + SelectedItem="{Binding Version}" /> |
60 | 65 | <Button |
| 66 | + Grid.Column="4" |
61 | 67 | Width="100" |
62 | 68 | Height="35" |
63 | | - Margin="-2,-3,7,7" |
64 | | - HorizontalAlignment="Right" |
| 69 | + Margin="7,-3,7,-3" |
65 | 70 | Classes="top" |
66 | 71 | Command="{Binding LoadVersion}" |
67 | 72 | Content="{setting:Localize Text.ReloadVersion}" |
68 | 73 | ToolTip.Tip="{setting:Localize ToolTip.Text81}" /> |
69 | | - </WrapPanel> |
| 74 | + </Grid> |
70 | 75 | <StackPanel Margin="0,0,0,5" Orientation="Horizontal"> |
71 | 76 | <svg:SvgControl |
72 | 77 | Width="24" |
|
75 | 80 | Path="/Resource/Icon/GameEdit/svg2.svg" /> |
76 | 81 | <TextBlock FontSize="{setting:Style FontTitle}" Text="{setting:Localize AddGameWindow.Tab1.Text4}" /> |
77 | 82 | </StackPanel> |
78 | | - <WrapPanel> |
79 | | - <DockPanel |
80 | | - MinWidth="230" |
81 | | - Margin="0,0,10,10" |
82 | | - IsEnabled="{Binding !IsLoad}"> |
83 | | - <TextBlock Margin="0,0,5,0" Text="{setting:Localize Text.Type}" /> |
84 | | - <ComboBox |
85 | | - HorizontalAlignment="Stretch" |
86 | | - VerticalContentAlignment="Center" |
87 | | - IsEnabled="{Binding EnableLoader}" |
88 | | - ItemsSource="{Binding LoaderTypeList}" |
89 | | - SelectedIndex="{Binding LoaderType}" /> |
90 | | - </DockPanel> |
91 | | - <DockPanel |
92 | | - MinWidth="230" |
93 | | - Margin="0,0,10,10" |
94 | | - IsEnabled="{Binding !IsLoad}"> |
95 | | - <TextBlock Margin="0,0,5,0" Text="{setting:Localize Text.Version}" /> |
96 | | - <ComboBox |
97 | | - HorizontalAlignment="Stretch" |
98 | | - VerticalContentAlignment="Center" |
99 | | - IsEnabled="{Binding EnableLoaderVersion}" |
100 | | - ItemsSource="{Binding LoaderVersionList}" |
101 | | - SelectedItem="{Binding LoaderVersion}" /> |
102 | | - </DockPanel> |
103 | | - <StackPanel |
| 83 | + <Grid |
| 84 | + Margin="0,0,0,10" |
| 85 | + ColumnDefinitions="auto,*,auto,auto,*,auto" |
| 86 | + IsEnabled="{Binding !IsLoad}"> |
| 87 | + <TextBlock Margin="0,0,5,0" Text="{setting:Localize Text.Type}" /> |
| 88 | + <ComboBox |
| 89 | + Grid.Column="1" |
104 | 90 | Margin="0,0,10,0" |
105 | | - HorizontalAlignment="Right" |
106 | | - Orientation="Horizontal"> |
107 | | - <Button |
108 | | - Width="100" |
109 | | - Height="35" |
110 | | - Margin="-2,-3,3,7" |
111 | | - Classes="top" |
112 | | - Command="{Binding VersionSelect}" |
113 | | - Content="{setting:Localize AddGameWindow.Tab1.Text11}" |
114 | | - ToolTip.Tip="{setting:Localize ToolTip.Text83}" /> |
115 | | - <Button |
116 | | - Width="100" |
117 | | - Height="35" |
118 | | - Margin="-2,-3,-3,7" |
119 | | - Classes="top" |
120 | | - Command="{Binding GetLoader}" |
121 | | - Content="{setting:Localize Text.ReloadVersion}" |
122 | | - ToolTip.Tip="{setting:Localize ToolTip.Text82}" /> |
123 | | - </StackPanel> |
124 | | - </WrapPanel> |
| 91 | + HorizontalAlignment="Stretch" |
| 92 | + VerticalContentAlignment="Center" |
| 93 | + IsEnabled="{Binding EnableLoader}" |
| 94 | + ItemsSource="{Binding LoaderTypeList}" |
| 95 | + SelectedIndex="{Binding LoaderType}" /> |
| 96 | + <Button |
| 97 | + Grid.Column="2" |
| 98 | + Width="100" |
| 99 | + Height="35" |
| 100 | + Margin="-3,-3,7,-3" |
| 101 | + Classes="top" |
| 102 | + Command="{Binding VersionSelect}" |
| 103 | + Content="{setting:Localize AddGameWindow.Tab1.Text11}" |
| 104 | + ToolTip.Tip="{setting:Localize ToolTip.Text83}" /> |
| 105 | + <TextBlock |
| 106 | + Grid.Column="3" |
| 107 | + Margin="0,0,5,0" |
| 108 | + Text="{setting:Localize Text.Version}" /> |
| 109 | + <ComboBox |
| 110 | + Grid.Column="4" |
| 111 | + Margin="0,0,10,0" |
| 112 | + HorizontalAlignment="Stretch" |
| 113 | + VerticalContentAlignment="Center" |
| 114 | + IsEnabled="{Binding EnableLoaderVersion}" |
| 115 | + ItemsSource="{Binding LoaderVersionList}" |
| 116 | + SelectedItem="{Binding LoaderVersion}" /> |
| 117 | + <Button |
| 118 | + Grid.Column="5" |
| 119 | + Width="100" |
| 120 | + Height="35" |
| 121 | + Margin="-3,-3,7,-3" |
| 122 | + Classes="top" |
| 123 | + Command="{Binding GetLoader}" |
| 124 | + Content="{setting:Localize Text.ReloadVersion}" |
| 125 | + ToolTip.Tip="{setting:Localize ToolTip.Text82}" /> |
| 126 | + </Grid> |
125 | 127 | <TextBox |
126 | 128 | Height="30" |
127 | 129 | Margin="0,0,10,10" |
|
153 | 155 | <TextBlock FontSize="{setting:Style FontTitle}" Text="{setting:Localize AddGameWindow.Tab1.Text5}" /> |
154 | 156 | </StackPanel> |
155 | 157 | <WrapPanel> |
156 | | - <DockPanel MinWidth="230" Margin="0,0,10,10"> |
157 | | - <TextBlock Margin="0,0,5,0" Text="{setting:Localize Text.Group}" /> |
158 | | - <ComboBox |
159 | | - HorizontalAlignment="Stretch" |
160 | | - ItemsSource="{Binding GroupList}" |
161 | | - SelectedItem="{Binding Group}" /> |
162 | | - </DockPanel> |
163 | | - <Button |
164 | | - Width="100" |
165 | | - Height="35" |
166 | | - Margin="-2,-3,7,7" |
167 | | - HorizontalAlignment="Right" |
168 | | - VerticalAlignment="Center" |
169 | | - Classes="top" |
170 | | - Command="{Binding AddGroup}" |
171 | | - Content="{setting:Localize AddGameWindow.Tab1.Text9}" |
172 | | - ToolTip.Tip="{setting:Localize ToolTip.Text84}" /> |
| 158 | + <TextBlock Margin="0,0,5,0" Text="{setting:Localize Text.Group}" /> |
| 159 | + <ComboBox |
| 160 | + Width="230" |
| 161 | + IsEditable="True" |
| 162 | + ItemsSource="{Binding GroupList}" |
| 163 | + Text="{Binding Group}" /> |
173 | 164 | </WrapPanel> |
174 | 165 | </StackPanel> |
175 | 166 | </DockPanel> |
|
0 commit comments