add padding & margin to make search look good

This commit is contained in:
MyDrift 2024-08-22 21:51:23 +02:00
parent cb2576e6db
commit 1f6e5b8f92
2 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,7 @@ function Invoke-WPFUIElements {
if (!$borderstyle -or !$HoverTextBlockStyle -or !$ColorfulToggleSwitchStyle) { if (!$borderstyle -or !$HoverTextBlockStyle -or !$ColorfulToggleSwitchStyle) {
throw "Failed to retrieve Styles using 'FindResource' from main window element." throw "Failed to retrieve Styles using 'FindResource' from main window element."
} }
$targetGrid = $window.FindName($targetGridName) $targetGrid = $window.FindName($targetGridName)
if (!$targetGrid) { if (!$targetGrid) {

View File

@ -686,7 +686,8 @@
BorderThickness="1" BorderThickness="1"
Name="SearchBar" Name="SearchBar"
Foreground="{MainForegroundColor}" Background="{MainBackgroundColor}" Foreground="{MainForegroundColor}" Background="{MainBackgroundColor}"
Padding="3,3,0,0" Padding="3,3,30,0"
Margin="5,0,0,0"
ToolTip="Press Ctrl-F and type app name to filter application list below. Press Esc to reset the filter"> ToolTip="Press Ctrl-F and type app name to filter application list below. Press Esc to reset the filter">
</TextBox> </TextBox>
<TextBlock <TextBlock