mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-15 17:30:37 -06:00
add padding & margin to make search look good
This commit is contained in:
parent
cb2576e6db
commit
1f6e5b8f92
@ -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) {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user