一些UI优化

This commit is contained in:
ZouJin 2023-04-11 14:00:10 +10:00
parent 731a13c5cc
commit e369031925
4 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ namespace VPet_Simulator.Windows
}
catch (Exception e)
{
new winReport(this, "由于插件引起的自定按钮加载错误\n" + e.ToString());
new winReport(this, "由于插件引起的自定按钮加载错误\n" + e.ToString()).Show();
}
}
public static void RunDIY(string content)

View File

@ -230,7 +230,7 @@ namespace VPet_Simulator.Windows
}
catch (Exception e)
{
new winReport(this, "由于插件引起的游戏启动错误\n" + e.ToString());
new winReport(this, "由于插件引起的游戏启动错误\n" + e.ToString()).Show();
}
Main.DefaultClickAction = () =>
{

View File

@ -28,7 +28,7 @@
<pu:FormGroup Header="内容:" HeaderPadding="10,0,10,0" HeaderHeight="20" Orientation="Horizontal" Margin="0,2,0,0"
Padding="1" FontSize="16" ToolTip="详细内容信息">
<TextBox x:Name="tContent" pu:TextBoxHelper.Watermark="详细描述&#13;eg:报错详细信息" AcceptsReturn="True"
MaxHeight="172" HorizontalScrollBarVisibility="Auto" />
MaxHeight="172" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"/>
</pu:FormGroup>
<pu:FormGroup Header="提交:" HeaderPadding="10,0,10,0" HeaderHeight="20" Orientation="Horizontal" Margin="0,2,0,0"
Padding="1" FontSize="16" ToolTip="是否上传的确游戏存档">

View File

@ -41,7 +41,7 @@ namespace VPet_Simulator.Windows
{
tType.SelectedIndex = 0;
tContent.Text = errmsg;
tContent.IsEnabled = false;
tContent.IsReadOnly = true;
tContent.Height = 44;
}