fix(mission-control): reset cursor to arrow over pane header buttons
Cursor inherits down the visual tree, so buttons in the draggable pane header kept the SizeAll cursor. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
e79f1bf22c
commit
74e06d6219
@@ -19,6 +19,12 @@
|
|||||||
Background="{DynamicResource Surface2Brush}"
|
Background="{DynamicResource Surface2Brush}"
|
||||||
BorderBrush="{DynamicResource LineBrush}"
|
BorderBrush="{DynamicResource LineBrush}"
|
||||||
BorderThickness="0,0,0,1" Padding="8,3">
|
BorderThickness="0,0,0,1" Padding="8,3">
|
||||||
|
<!-- Cursor inherits down the tree; without this the buttons keep the header's SizeAll. -->
|
||||||
|
<Border.Styles>
|
||||||
|
<Style Selector="Button">
|
||||||
|
<Setter Property="Cursor" Value="Arrow" />
|
||||||
|
</Style>
|
||||||
|
</Border.Styles>
|
||||||
<Grid ColumnDefinitions="*,Auto,Auto,Auto">
|
<Grid ColumnDefinitions="*,Auto,Auto,Auto">
|
||||||
<TextBlock Grid.Column="0" Classes="meta" Text="{Binding DisplayTitle}"
|
<TextBlock Grid.Column="0" Classes="meta" Text="{Binding DisplayTitle}"
|
||||||
TextTrimming="CharacterEllipsis"
|
TextTrimming="CharacterEllipsis"
|
||||||
|
|||||||
Reference in New Issue
Block a user