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