src\Aspire.Tray\Common\TrayPanel.cs (7)
63public const double TrailingCenter = Width - LeadingCenter;
954(RowInset, "row/card edge"), (EdgeMargin, "edge"), (LeadingCenter, "leading center"), (TextLeft, "text"), (NestedTextLeft, "nested text"),
967Box(new(LeadingCenter - 8, HeaderHeight + 8 + 9, 16, 16), "notice icon");
976Box(new(LeadingCenter - 8, HeaderHeight / 2 - 8, 16, 16), "back");
1026: new(LeadingCenter - 8, middle - 8, 16, 16),
1099TrayPanelGlyphs.AddIcon(commands, PanelIcon.Alert, new(LeadingCenter - 8, banner.Y + 9, 16, 16), palette.BannerText);
1417var back = new PanelRect(LeadingCenter - ButtonSize / 2, (HeaderHeight - ButtonSize) / 2, ButtonSize, ButtonSize);