diff --git a/PrimaryFormParts/PrimaryForm.MultiPagePanel.cs b/PrimaryFormParts/PrimaryForm.MultiPagePanel.cs index 5851852..2b55a7d 100644 --- a/PrimaryFormParts/PrimaryForm.MultiPagePanel.cs +++ b/PrimaryFormParts/PrimaryForm.MultiPagePanel.cs @@ -452,15 +452,15 @@ namespace DualScreenDemo int textLength = fullText.Length; // 計算文字寬度 - Font normalFont = new Font("微軟正黑體", 22, FontStyle.Bold); - Font mediumFont = new Font("微軟正黑體", 16, FontStyle.Bold); + Font normalFont = new Font("微軟正黑體", 20, FontStyle.Bold); + Font mediumFont = new Font("微軟正黑體", 14, FontStyle.Bold); Font smallFont = new Font("微軟正黑體", 12, FontStyle.Bold); // 根據文字長度設置字體大小 if (textLength > 18) { songLabel.Font = smallFont; } - else if (textLength > 13) + else if (textLength > 8) { songLabel.Font = mediumFont; } @@ -540,15 +540,15 @@ namespace DualScreenDemo // 根據文字長度設置字體大小 if (artistText.Length > 6) { - artistLabel.Font = new Font("微軟正黑體", 12, FontStyle.Bold); + artistLabel.Font = new Font("微軟正黑體", 10, FontStyle.Bold); } - else if (artistText.Length > 4) + else if (artistText.Length > 3) { - artistLabel.Font = new Font("微軟正黑體", 14, FontStyle.Bold); + artistLabel.Font = new Font("微軟正黑體", 12, FontStyle.Bold); } else { - artistLabel.Font = new Font("微軟正黑體", 16, FontStyle.Bold); + artistLabel.Font = new Font("微軟正黑體", 14, FontStyle.Bold); } //artistLabel.Font = new Font("微軟正黑體", 16, FontStyle.Bold);