16 references to FooterHeight
Aspire.Tray.Tests (16)
src\Aspire.Tray\Common\TrayPanel.cs (8)
122value = Math.Max(HeaderHeight + FooterHeight + RowHeight, value); 828var chrome = HeaderHeight + noticeHeight + FooterHeight; 837var footer = new PanelRect(0, height - FooterHeight, Width, FooterHeight); 978var footerTop = height - FooterHeight; 979Line(footerTop + FooterHeight / 2, "footer", new(0, footerTop, Width, FooterHeight)); 983Box(new(center - 8, footerTop + FooterHeight / 2 - 8, 16, 16), "footer icon");
src\Aspire.Tray\Linux\LinuxTrayPanel.cs (1)
431|| workarea.Height < (TrayPanel.HeaderHeight + TrayPanel.FooterHeight + TrayPanel.RowHeight + 16) * _scale)
TrayPanelTests.cs (7)
75Assert.InRange(scene.Height, TrayPanel.HeaderHeight + TrayPanel.FooterHeight, 600); 83Assert.All(footer, target => Assert.InRange(target.Bounds.Y, scene.Height - TrayPanel.FooterHeight, scene.Height - target.Bounds.Height)); 972Assert.Equal(TrayPanel.FooterHeight, TrayPanel.HeaderHeight); 977Assert.Contains(gutters, bounds => Near(bounds, new(0, scene.Height - TrayPanel.FooterHeight, TrayPanel.Width, TrayPanel.FooterHeight))); 981Assert.Contains(new PanelRect(0, scene.Height - TrayPanel.FooterHeight, TrayPanel.Width, 1), separators); 991Assert.All(scene.Targets.TakeLast(3), button => Assert.Equal(scene.Height - TrayPanel.FooterHeight / 2, button.Bounds.CenterY));