8 references to GetControlBounds
Aspire.Tray.Tests (8)
TrayPanelTests.cs (8)
1050var dot = scene.Commands.OfType<FillPathCommand>().Single(fill => fill.Path.GetControlBounds() is { Width: 8, Height: 8 } bounds 1060Assert.Equal(status.Baseline - PanelFonts.CapHeight(PanelFontRole.Body) / 2, dot.Path.GetControlBounds().CenterY, 3); 1074.Select(fill => fill.Path.GetControlBounds()).ToList(); 1083.Select(fill => fill.Path.GetControlBounds()).ToList(); 1189Assert.Equal(rect, path.GetControlBounds()); 1263var fill = panel.Scene.Commands.OfType<FillPathCommand>().Last(fill => fill.Path.GetControlBounds().Contains(accept.Bounds.CenterX, accept.Bounds.CenterY) 1264&& fill.Path.GetControlBounds().Width <= accept.Bounds.Width + 1); 1619return path.GetControlBounds().Inset(-width / 2, -width / 2);