9 writes to MaxHeight
Aspire.Tray.Tests (9)
src\Aspire.Tray\Linux\LinuxTrayPanel.cs (1)
435
_panel.
MaxHeight
= Math.Min(TrayPanel.DefaultMaxHeight, workarea.Height / _scale - 16);
TrayPanelTests.cs (8)
36
var panel = new TrayPanel(state, palette) {
MaxHeight
= maxHeight, OpenInApplications = s_applications };
365
var panel = new TrayPanel(state, TrayPanelPalette.Light) {
MaxHeight
= 400 };
466
var panel = new TrayPanel(TrayPanelSamples.Many(), TrayPanelPalette.Light) {
MaxHeight
= 480 };
489
var panel = new TrayPanel(state, TrayPanelPalette.Light) {
MaxHeight
= 400 };
502
var panel = new TrayPanel(state, TrayPanelPalette.Light) {
MaxHeight
= 400 };
720
var panel = new TrayPanel(TrayPanelSamples.Many(), TrayPanelPalette.Light) {
MaxHeight
= 400 };
785
var panel = new TrayPanel(TrayPanelSamples.Many(), TrayPanelPalette.Light) {
MaxHeight
= 400 };
1377
var panel = new TrayPanel(TrayPanelSamples.Many(), TrayPanelPalette.Light) {
MaxHeight
= 400 };