16 references to RowInset
Aspire.Tray.Tests (16)
src\Aspire.Tray\Common\TrayPanel.cs (14)
954(RowInset, "row/card edge"), (EdgeMargin, "edge"), (LeadingCenter, "leading center"), (TextLeft, "text"), (NestedTextLeft, "nested text"), 956(Width - RowInset, "row/card edge") 1091var banner = new PanelRect(RowInset, HeaderHeight + 8, Width - 2 * RowInset, height); 1151var toggle = new PanelRect(RowInset, top + 4, Width - 2 * RowInset, 24); 1174var row = new PanelRect(RowInset, top + 2, Width - 2 * RowInset, RowHeight - 4); 1291var card = new PanelRect(RowInset, top, Width - 2 * RowInset, height - ActionListGap); 1363var card = new PanelRect(RowInset, top + 4, Width - 2 * RowInset, ConfirmHeight - 8); 1430var row = new PanelRect(RowInset, top + 2, Width - 2 * RowInset, SettingsRowHeight - 4);
TrayPanelTests.cs (2)
924row => Assert.True(row.Bounds.X == TrayPanel.RowInset && row.Bounds.Right == TrayPanel.Width - TrayPanel.RowInset, $"{name}: {row.Key} at {row.Bounds}"));