18 references to FooterHeight
Aspire.Tray.Tests (18)
src\Aspire.Tray\Common\TrayPanel.cs (9)
128value = Math.Max(HeaderHeight + FooterHeight, value); 911var availableNoticeHeight = _maxHeight - HeaderHeight - FooterHeight; 933var chrome = HeaderHeight + noticeHeight + FooterHeight; 942var footer = new PanelRect(0, height - FooterHeight, Width, FooterHeight); 1081var footerTop = height - FooterHeight; 1082Line(footerTop + FooterHeight / 2, "footer", new(0, footerTop, Width, FooterHeight)); 1086Box(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 (8)
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)); 1076Assert.Equal(TrayPanel.FooterHeight, TrayPanel.HeaderHeight); 1081Assert.Contains(gutters, bounds => Near(bounds, new(0, scene.Height - TrayPanel.FooterHeight, TrayPanel.Width, TrayPanel.FooterHeight))); 1085Assert.Contains(new PanelRect(0, scene.Height - TrayPanel.FooterHeight, TrayPanel.Width, 1), separators); 1095Assert.All(scene.Targets.TakeLast(3), button => Assert.Equal(scene.Height - TrayPanel.FooterHeight / 2, button.Bounds.CenterY)); 1137var footerTop = scene.Height - TrayPanel.FooterHeight;