2 references to NoticeTextWidth
Aspire.Tray.Tests (2)
src\Aspire.Tray\Common\TrayPanel.cs (2)
802
var noticeSingleLine = notice is not null && notice.Length * AverageBodyCharacterWidth <=
NoticeTextWidth
;
952
var text = new PanelRect(banner.X + 34, banner.Y + 8,
NoticeTextWidth
, height - 16);