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