Adding a warning sign to warnings
This commit is contained in:
parent
941c9a5481
commit
283be62bf6
|
@ -54,11 +54,14 @@
|
|||
IsEnabled="{Binding Mode=TwoWay, Path=IsAdminButtonEnabled}"
|
||||
/>
|
||||
|
||||
<TextBlock x:Uid="General_RunAsAdminRequired"
|
||||
<TextBlock
|
||||
Foreground="{ThemeResource SystemControlErrorTextForegroundBrush}"
|
||||
TextWrapping="Wrap"
|
||||
Visibility="{Binding Mode=TwoWay, Path=IsElevated, Converter={StaticResource BoolToVisibilityConverter}}"
|
||||
Margin="0,24,0,-8" />
|
||||
Visibility="Visible"
|
||||
Margin="0,24,0,-8">
|
||||
<Run Text="" FontSize="12" FontFamily="Segoe MDL2 Assets"/>
|
||||
<Run x:Uid="General_RunAsAdminRequired" />
|
||||
</TextBlock>
|
||||
|
||||
<ToggleSwitch Margin="{StaticResource SmallTopMargin}"
|
||||
x:Uid="GeneralSettings_AlwaysRunAsAdminText"
|
||||
|
|
|
@ -176,14 +176,17 @@
|
|||
Margin="{StaticResource SmallTopMargin}"
|
||||
Opacity="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher, Converter={StaticResource ModuleEnabledToOpacityConverter}}"
|
||||
TextWrapping="Wrap"/>
|
||||
|
||||
<TextBlock x:Uid="Run_AllPluginsDisabled"
|
||||
|
||||
<TextBlock
|
||||
Foreground="{ThemeResource SystemControlErrorTextForegroundBrush}"
|
||||
Visibility="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"
|
||||
TextWrapping="Wrap"
|
||||
Margin="{StaticResource SmallTopMargin}"/>
|
||||
Margin="{StaticResource SmallTopMargin}">
|
||||
<Run Text="" FontSize="12" FontFamily="Segoe MDL2 Assets"/>
|
||||
<Run x:Uid="Run_AllPluginsDisabled" />
|
||||
</TextBlock>
|
||||
|
||||
<TextBlock x:Uid="Run_PluginsLoading"
|
||||
<TextBlock x:Uid="Run_PluginsLoading"
|
||||
Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"
|
||||
TextWrapping="Wrap"
|
||||
Margin="{StaticResource SmallTopMargin}"/>
|
||||
|
|
|
@ -20,11 +20,14 @@
|
|||
<controls:SettingsPageControl.ModuleContent>
|
||||
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock x:Uid="FileExplorerPreview_RunAsAdminRequired"
|
||||
<TextBlock
|
||||
Foreground="{ThemeResource SystemControlErrorTextForegroundBrush}"
|
||||
Visibility="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource BoolToVisibilityConverter}}"
|
||||
Margin="{StaticResource SmallBottomMargin}"
|
||||
TextWrapping="Wrap"/>
|
||||
TextWrapping="Wrap">
|
||||
<Run Text="" FontSize="12" FontFamily="Segoe MDL2 Assets"/>
|
||||
<Run x:Uid="FileExplorerPreview_RunAsAdminRequired" />
|
||||
</TextBlock>
|
||||
|
||||
<TextBlock x:Uid="FileExplorerPreview_AffectsAllUsers"
|
||||
Opacity="{x:Bind Mode=OneWay, Path=ViewModel.IsElevated, Converter={StaticResource ModuleEnabledToOpacityConverter}}"
|
||||
|
|
Loading…
Reference in a new issue