fix: first '_' character not shown in menu item (#313)

This commit is contained in:
leo 2024-08-02 22:49:45 +08:00
parent b5d7f6d7ce
commit 281ef8b490
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -781,7 +781,7 @@
ContentTemplate="{TemplateBinding HeaderTemplate}" ContentTemplate="{TemplateBinding HeaderTemplate}"
VerticalAlignment="Center" VerticalAlignment="Center"
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"
RecognizesAccessKey="True"/> RecognizesAccessKey="False"/>
<TextBlock x:Name="PART_InputGestureText" <TextBlock x:Name="PART_InputGestureText"
Grid.Column="2" Grid.Column="2"
Classes="CaptionTextBlockStyle" Classes="CaptionTextBlockStyle"

View file

@ -488,7 +488,7 @@
</TextBox.InnerRightContent> </TextBox.InnerRightContent>
</TextBox> </TextBox>
<Popup PlacementTarget="#TxtSearchCommitsBox" <Popup PlacementTarget="{Binding #TxtSearchCommitsBox}"
Placement="BottomEdgeAlignedLeft" Placement="BottomEdgeAlignedLeft"
HorizontalOffset="-8" VerticalAlignment="-8" HorizontalOffset="-8" VerticalAlignment="-8"
IsOpen="{Binding IsSearchCommitSuggestionOpen}"> IsOpen="{Binding IsSearchCommitSuggestionOpen}">