* UILine: 调整最小长、宽为1

This commit is contained in:
Sunny 2021-10-15 17:12:07 +08:00
parent 8017957187
commit 42b77f2119
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -33,7 +33,7 @@ namespace Sunny.UI
{ {
SetStyleFlags(true, false); SetStyleFlags(true, false);
Size = new Size(360, 29); Size = new Size(360, 29);
MinimumSize = new Size(2, 2); MinimumSize = new Size(1, 1);
foreColor = UIStyles.GetStyleColor(UIStyle.Blue).LineForeColor; foreColor = UIStyles.GetStyleColor(UIStyle.Blue).LineForeColor;
fillColor = UIStyles.GetStyleColor(UIStyle.Blue).PlainColor; fillColor = UIStyles.GetStyleColor(UIStyle.Blue).PlainColor;
} }