14 references to EdgeMargin
Aspire.Tray.Tests (14)
src\Aspire.Tray\Common\TrayPanel.cs (9)
1057(RowInset, "row/card edge"), (EdgeMargin, "edge"), (LeadingCenter, "leading center"), (TextLeft, "text"), (NestedTextLeft, "nested text"), 1058(TrailingCenter, "trailing center"), (Width - EdgeMargin, "edge"), (RowContentRight, "button edge"), 1075Box(new(EdgeMargin, HeaderHeight / 2 - 10, 20, 20), "logo"); 1103Box(new(EdgeMargin, top + RowHeight / 2 - 10, 20, 20), "status"); 1160private const double NoticeTextWidth = Width - EdgeMargin - TextLeft; 1177commands.Add(new LogoCommand(new(EdgeMargin, middle - 10, 20, 20))); 1187var statusBounds = new PanelRect(statusLeft, middle - 8, Width - EdgeMargin - statusLeft, 16); 1304: Width - EdgeMargin; 1535var title = new PanelRect(TextLeft, (HeaderHeight - 20) / 2, Width - EdgeMargin - TextLeft, 20);
TrayPanelTests.cs (5)
141Assert.Equal(TrayPanel.Width - TrayPanel.EdgeMargin - TrayPanel.TextLeft, nameText.Bounds.Width); 142Assert.Equal(TrayPanel.Width - TrayPanel.EdgeMargin - TrayPanel.TextLeft, detailText.Bounds.Width); 155Assert.Equal(TrayPanel.Width - TrayPanel.EdgeMargin - TrayPanel.TextLeft, nameText.Bounds.Width); 967double[] columns = [TrayPanel.EdgeMargin, TrayPanel.TextLeft, TrayPanel.NestedTextLeft]; 1061Assert.Equal(TrayPanel.Width - TrayPanel.EdgeMargin, status.Bounds.Right);