mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
[Settings] Settings UX enhancements (#12912)
* Update Colors.xaml * Added warning icon to Run plugin * Removed redundant name * Added border * Removed unused converter * Update GeneralPage.xaml Co-authored-by: Niels Laute <niels9001@hotmail.com>
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
<Page.Resources>
|
||||
<local:VisibleIfNotEmpty x:Key="visibleIfNotEmptyConverter" />
|
||||
|
||||
<Style TargetType="ListViewItem" x:Name="KeysListViewContainerStyle">
|
||||
<Setter Property="IsTabStop" Value="False"/>
|
||||
</Style>
|
||||
@@ -122,7 +123,7 @@
|
||||
IsTabStop="False">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<StackPanel Orientation="Horizontal"/>
|
||||
<StackPanel Orientation="Horizontal" Spacing="4"/>
|
||||
</ItemsPanelTemplate>
|
||||
</ItemsControl.ItemsPanel>
|
||||
</ItemsControl>
|
||||
@@ -138,7 +139,7 @@
|
||||
IsTabStop="False">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<StackPanel Orientation="Horizontal"/>
|
||||
<StackPanel Orientation="Horizontal" Spacing="4"/>
|
||||
</ItemsPanelTemplate>
|
||||
</ItemsControl.ItemsPanel>
|
||||
</ItemsControl>
|
||||
@@ -201,9 +202,21 @@
|
||||
</ItemsControl.ItemsPanel>
|
||||
</ItemsControl>
|
||||
|
||||
<TextBlock Margin="8,0,0,0" Style="{StaticResource SecondaryTextStyle}" VerticalAlignment="Center">
|
||||
<Run Text="{x:Bind TargetApp}" FontWeight="SemiBold"/>
|
||||
</TextBlock>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Border VerticalAlignment="Center"
|
||||
Padding="12,4,12,6"
|
||||
Margin="16,0,0,0"
|
||||
CornerRadius="12">
|
||||
<Border.Background>
|
||||
<SolidColorBrush Color="{ThemeResource SystemAccentColorLight3}"
|
||||
Opacity="0.3"/>
|
||||
</Border.Background>
|
||||
<TextBlock Text="{x:Bind TargetApp}"
|
||||
Foreground="{ThemeResource SystemAccentColorDark1}"
|
||||
FontWeight="SemiBold"
|
||||
FontSize="12" />
|
||||
</Border>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
|
||||
Reference in New Issue
Block a user