2 writes to Density
Aspire.Dashboard (2)
Model\DashboardViewPreferences.cs (2)
128
Density
= density;
172
Density
= density;
6 references to Density
Aspire.Dashboard (5)
Components\Controls\ApplicationSummary.razor.cs (1)
162
private string CardDensityClass => ViewPreferences.
Density
switch
Components\Layout\ResourcesLayout.razor.cs (2)
1303
private bool IsCompact => ViewPreferences.
Density
== ResourceListDensity.Compact;
1304
private bool IsSpacious => ViewPreferences.
Density
== ResourceListDensity.Spacious;
Model\DashboardViewPreferences.cs (2)
123
if (
Density
== density)
170
if (density !=
Density
|| groupOverview != GroupOverview || recordingsStyle != RecordingsStyle)
Aspire.Dashboard.Components.Tests (1)
Dialogs\SettingsDialogTests.cs (1)
79
Assert.Equal(ResourceListDensity.Comfortable, preferences.
Density
);