style: RougleliekSetting (什么奇怪的拼写)

This commit is contained in:
ABA2396
2022-07-28 01:14:27 +08:00
parent 2a2666a35c
commit 938ab1308e
4 changed files with 38 additions and 17 deletions

View File

@@ -94,7 +94,7 @@
<system:String x:Key="AdditionCommand">Addiction Command arguments</system:String>
<system:String x:Key="Strategy">Strategy</system:String>
<system:String x:Key="StartTimesLimit" xml:space="preserve"> Limit of times </system:String>
<system:String x:Key="StartTimesLimit">Limit of times</system:String>
<system:String x:Key="GoldTimesLimit">Limit of deposit coins</system:String>
<system:String x:Key="StopOnGoldLimit">Stop when deposited coins reached limit</system:String>

View File

@@ -96,7 +96,7 @@
<system:String x:Key="Strategy">策略</system:String>
<system:String x:Key="StartTimesLimit">开始次数限制</system:String>
<system:String x:Key="GoldTimesLimit">投资次数限制</system:String>
<system:String x:Key="StopOnGoldLimit" xml:space="preserve">源石锭达到上限停止 </system:String>
<system:String x:Key="StopOnGoldLimit">源石锭达到上限停止</system:String>
<system:String x:Key="PenguinID">企鹅物流汇报ID仅数字部分</system:String>

View File

@@ -96,7 +96,7 @@
<system:String x:Key="Strategy">策略</system:String>
<system:String x:Key="StartTimesLimit">開始次數限制</system:String>
<system:String x:Key="GoldTimesLimit">投資次數限制</system:String>
<system:String x:Key="StopOnGoldLimit" xml:space="preserve">源石錠達到上限停止任務 </system:String>
<system:String x:Key="StopOnGoldLimit">源石錠達到上限停止任務</system:String>
<system:String x:Key="PenguinID">企鵝物流彙報ID僅數字部分</system:String>

View File

@@ -11,32 +11,53 @@
d:DataContext="{d:DesignInstance {x:Type vm:SettingsViewModel}}"
d:DesignHeight="300" d:DesignWidth="550">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="125"/>
<ColumnDefinition/>
<ColumnDefinition/>
<ColumnDefinition Width="125"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.ColumnSpan="4">
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{DynamicResource Strategy}" VerticalAlignment="Center" Margin="10" />
<ComboBox Width="300" Margin="10"
<ComboBox Width="300" Height="30" Margin="10"
IsHitTestVisible ="{Binding Path=Idle}"
ItemsSource="{Binding RoguelikeModeList}"
DisplayMemberPath="Display"
SelectedValuePath="Value"
SelectedValue="{Binding RoguelikeMode}" />
</StackPanel>
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{DynamicResource StartTimesLimit}" VerticalAlignment="Center" Margin="10" />
<hc:TextBox Text="{Binding RoguelikeStartsCount}" TextWrapping="Wrap" Margin="10"
Width="80" InputMethod.IsInputMethodEnabled="False" TextType="Int" />
</StackPanel>
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{DynamicResource GoldTimesLimit}" VerticalAlignment="Center" Margin="10" />
<hc:TextBox Text="{Binding RoguelikeInvestsCount}" TextWrapping="Wrap" Margin="10"
Width="80" InputMethod.IsInputMethodEnabled="False" TextType="Int" />
</StackPanel>
<CheckBox Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Center"
IsChecked="{Binding RoguelikeStopWhenInvestmentFull}" Content="{DynamicResource StopOnGoldLimit}" Margin="10" />
<TextBlock Style="{StaticResource TextBlockDefault}"
Text="{DynamicResource StartTimesLimit}"
TextWrapping="Wrap"
Margin="10" Grid.Row="1" Grid.Column="1"/>
<hc:TextBox Text="{Binding RoguelikeStartsCount}"
TextWrapping="Wrap"
InputMethod.IsInputMethodEnabled="False" TextType="Int"
Height="30"
Margin="10" Grid.Row="1" Grid.Column="2"/>
<TextBlock Style="{StaticResource TextBlockDefault}"
Text="{DynamicResource GoldTimesLimit}"
TextWrapping="Wrap"
Margin="10" Grid.Row="2" Grid.Column="1"/>
<hc:TextBox Text="{Binding RoguelikeInvestsCount}"
TextWrapping="Wrap"
InputMethod.IsInputMethodEnabled="False" TextType="Int"
Height="30"
Margin="10" Grid.Row="2" Grid.Column="2"/>
<CheckBox IsChecked="{Binding RoguelikeStopWhenInvestmentFull}"
Content="{DynamicResource StopOnGoldLimit}"
HorizontalAlignment="Center" VerticalAlignment="Center"
Margin="10" Grid.Row="3" Grid.ColumnSpan="4" />
</Grid>
</UserControl>