10 references to EdgeMargin
Aspire.Tray.Tests (10)
src\Aspire.Tray\Common\TrayPanel.cs (8)
954(RowInset, "row/card edge"), (EdgeMargin, "edge"), (LeadingCenter, "leading center"), (TextLeft, "text"), (NestedTextLeft, "nested text"), 955(TrailingCenter, "trailing center"), (Width - EdgeMargin, "edge"), (RowContentRight, "button edge"), 972Box(new(EdgeMargin, HeaderHeight / 2 - 10, 20, 20), "logo"); 1000Box(new(EdgeMargin, top + RowHeight / 2 - 10, 20, 20), "status"); 1057private const double NoticeTextWidth = Width - EdgeMargin - TextLeft; 1074commands.Add(new LogoCommand(new(EdgeMargin, middle - 10, 20, 20))); 1084var statusBounds = new PanelRect(statusLeft, middle - 8, Width - EdgeMargin - statusLeft, 16); 1422var title = new PanelRect(TextLeft, (HeaderHeight - 20) / 2, Width - EdgeMargin - TextLeft, 20);
TrayPanelTests.cs (2)
863double[] columns = [TrayPanel.EdgeMargin, TrayPanel.TextLeft, TrayPanel.NestedTextLeft]; 957Assert.Equal(TrayPanel.Width - TrayPanel.EdgeMargin, status.Bounds.Right);