Skip to content

Commit

Permalink
[PTRun]Fix accent on title bar bleed into UI (#33046)
Browse files Browse the repository at this point in the history
* [PTRun]Fix accent on title bar bleed into UI

* Fix XAML style
  • Loading branch information
jaimecbernardo committed May 26, 2024
1 parent 13b57e3 commit 8bb5a33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/launcher/PowerLauncher/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
Grid.Row="0"
Padding="12,4,12,3">
<local:LauncherControl x:Name="SearchBox" />
<Border.Background>
<!-- Setting the background of the search bar to fix https://github.com/microsoft/PowerToys/issues/30206 -->
<!-- The title bar accent would bleed if the option to "Show accent color on title bars and windows borders" is enabled on Windows -->
<SolidColorBrush Opacity="1" Color="{DynamicResource ApplicationBackgroundColor}" />
</Border.Background>
</Border>

<!-- Have to use a Grid instead of a StackPanel for scrolling to work? -->
Expand Down

0 comments on commit 8bb5a33

Please sign in to comment.