mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
Fix Focus issue on clicking list view (#5045)
* Focus working after right click * Removed unnecessary focussable setter
This commit is contained in:
committed by
GitHub
parent
e8de6f0ace
commit
45bab578c4
@@ -30,6 +30,7 @@
|
|||||||
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
||||||
<Setter Property="Foreground" Value="{DynamicResource ControlTextBrushKey}"/>
|
<Setter Property="Foreground" Value="{DynamicResource ControlTextBrushKey}"/>
|
||||||
<Setter Property="BorderThickness" Value="1"/>
|
<Setter Property="BorderThickness" Value="1"/>
|
||||||
|
<Setter Property="Focusable" Value="False"/>
|
||||||
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
||||||
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||||||
<Setter Property="Padding" Value="1"/>
|
<Setter Property="Padding" Value="1"/>
|
||||||
@@ -88,6 +89,7 @@
|
|||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter.Value>
|
</Setter.Value>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
<Setter Property="Focusable" Value="False" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style x:Key="CommandButtonListViewItemContainerStyle" TargetType="ListViewItem">
|
<Style x:Key="CommandButtonListViewItemContainerStyle" TargetType="ListViewItem">
|
||||||
@@ -201,7 +203,6 @@
|
|||||||
Style="{DynamicResource CollapsableTextblock}"
|
Style="{DynamicResource CollapsableTextblock}"
|
||||||
Foreground="{DynamicResource ToolTipForegroundBrushKey}" FontSize="12"
|
Foreground="{DynamicResource ToolTipForegroundBrushKey}" FontSize="12"
|
||||||
Text="{Binding Result.ToolTipData.Text}"
|
Text="{Binding Result.ToolTipData.Text}"
|
||||||
|
|
||||||
TextWrapping="Wrap" />
|
TextWrapping="Wrap" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ToolTip>
|
</ToolTip>
|
||||||
|
|||||||
Reference in New Issue
Block a user