修复工作面板ui显示bug fix #339

This commit is contained in:
ZouJin 2024-03-28 18:19:25 +08:00
parent b5fc12ad1e
commit f76157cd8d
3 changed files with 11 additions and 11 deletions

View File

@ -68,7 +68,7 @@
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<ToggleButton x:Name="tbtn_star" VerticalAlignment="Top" HorizontalAlignment="Right"
Content="&#xF18B;" FontFamily="remixicon" Style="{DynamicResource TextToggleButtonStyle}"
Content="&#xF18B;" FontFamily="pack://application:,,,/Res/#remixicon" Style="{DynamicResource TextToggleButtonStyle}"
FontSize="24" Margin="6" pu:ToggleButtonHelper.CheckedContent="&#xF186;"
Click="tbtn_star_Click" Grid.Column="4" Grid.RowSpan="3" Grid.ColumnSpan="4" />
<Grid>
@ -85,7 +85,7 @@
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="70" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="15" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition />

View File

@ -132,10 +132,10 @@ public partial class winWorkMenu : WindowX
tbGain.Text = "金钱".Translate();
else
tbGain.Text = "经验".Translate();
tbSpeed.Text = "+" + work.Get().ToString("f2");
tbFood.Text = "-" + work.StrengthFood.ToString("f2");
tbDrink.Text = "-" + work.StrengthDrink.ToString("f2");
tbSpirit.Text = "-" + work.Feeling.ToString("f2");
tbSpeed.Text = work.Get().ToString("f2");
tbFood.Text = work.StrengthFood.ToString("f2");
tbDrink.Text = work.StrengthDrink.ToString("f2");
tbSpirit.Text = work.Feeling.ToString("f2");
tbLvLimit.Text = work.LevelLimit.ToString("f0");
if (work.Time > 100)
tbTime.Text = (work.Time / 60).ToString("f2") + 'h';

View File

@ -57,11 +57,11 @@ theme#Theme:|
如果比较重要或需要反馈,请联系:\rB站: 虚拟桌宠模拟器 \r邮箱: service@exlb.net \rGithub: https://github.com/LorisYounger/VPet#If it is important or needs feedback, please contact:\rMail: service@exlb.net\rGithub: https://github.com/LorisYounger/VPet:|
工作面板#Work Panel:|
获得效率#Efficiency:|
饱腹消耗#Hunger consumption:|
口渴消耗#Thirst consumption:|
心情消耗#Mood consumption:|
饱腹消耗#Hunger use:|
口渴消耗#Thirst use:|
心情消耗#Mood use:|
等级限制#Level limit:|
花费时间#Time spent:|
奖励倍率#Reward multiplier:|
倍率调整#Multiplier adjustment:|
奖励倍率#Reward muti:|
倍率调整#Muti adjust:|
允许好友交互#Allow friends to interact:|