Skip to content

Commit

Permalink
display an adorable lock icon (we had to add Segoe Icons to SettingCo…
Browse files Browse the repository at this point in the history
…ntainer for this)
  • Loading branch information
DHowett committed Feb 20, 2025
1 parent 0494a35 commit 53cae0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalSettingsEditor/LaunchViewModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
{
case WAM::StartupTaskState::EnabledByPolicy:
case WAM::StartupTaskState::DisabledByPolicy:
return RS_(L"Globals_StartOnUserLogin_UnavailableByPolicy");
return winrt::hstring{ L"\uE72E " } /*lock icon*/ + RS_(L"Globals_StartOnUserLogin_UnavailableByPolicy");
case WAM::StartupTaskState::DisabledByUser:
return RS_(L"Globals_StartOnUserLogin_DisabledByUser");
case WAM::StartupTaskState::Enabled:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
<Setter Property="LineHeight" Value="16" />
<Setter Property="Foreground" Value="{ThemeResource SubgroupHeaderBrush}" />
<Setter Property="TextWrapping" Value="WrapWholeWords" />
<Setter Property="FontFamily" Value="Segoe UI, Segoe Fluent Icons, Segoe MDL2 Assets" />
</Style>

<DataTemplate x:Key="ExpanderSettingContainerStringPreviewTemplate">
Expand Down

0 comments on commit 53cae0b

Please # to comment.