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)
36var panel = new TrayPanel(state, palette) { MaxHeight = maxHeight, OpenInApplications = s_applications }; 365var panel = new TrayPanel(state, TrayPanelPalette.Light) { MaxHeight = 400 }; 466var panel = new TrayPanel(TrayPanelSamples.Many(), TrayPanelPalette.Light) { MaxHeight = 480 }; 489var panel = new TrayPanel(state, TrayPanelPalette.Light) { MaxHeight = 400 }; 502var panel = new TrayPanel(state, TrayPanelPalette.Light) { MaxHeight = 400 }; 720var panel = new TrayPanel(TrayPanelSamples.Many(), TrayPanelPalette.Light) { MaxHeight = 400 }; 785var panel = new TrayPanel(TrayPanelSamples.Many(), TrayPanelPalette.Light) { MaxHeight = 400 }; 1377var panel = new TrayPanel(TrayPanelSamples.Many(), TrayPanelPalette.Light) { MaxHeight = 400 };