3 references to NoticeTextWidth
aspire-tray (3)
src\Aspire.Tray\Common\TrayPanel.cs (3)
908var noticeSingleLine = notice is not null && notice.Length * AverageBodyCharacterWidth <= NoticeTextWidth; 1211? new PanelRect(TextLeft, banner.CenterY - 9, NoticeTextWidth, 18) 1212: new PanelRect(TextLeft, banner.Y + 8, NoticeTextWidth, height - 16);