fix Hotkey control size CustomQueryHotkeyWindow

This commit is contained in:
DB p 2024-04-18 03:44:21 +09:00
parent fa0f4981c7
commit fd620f4ea8

View file

@ -7,13 +7,13 @@
Title="{DynamicResource customeQueryHotkeyTitle}" Title="{DynamicResource customeQueryHotkeyTitle}"
Width="530" Width="530"
Background="{DynamicResource PopuBGColor}" Background="{DynamicResource PopuBGColor}"
DataContext="{Binding RelativeSource={RelativeSource Self}}"
Foreground="{DynamicResource PopupTextColor}" Foreground="{DynamicResource PopupTextColor}"
Icon="Images\app.png" Icon="Images\app.png"
MouseDown="window_MouseDown" MouseDown="window_MouseDown"
ResizeMode="NoResize" ResizeMode="NoResize"
SizeToContent="Height" SizeToContent="Height"
WindowStartupLocation="CenterScreen" WindowStartupLocation="CenterScreen">
DataContext="{Binding RelativeSource={RelativeSource Self}}">
<WindowChrome.WindowChrome> <WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" /> <WindowChrome CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" />
</WindowChrome.WindowChrome> </WindowChrome.WindowChrome>
@ -108,8 +108,6 @@
<flowlauncher:HotkeyControl <flowlauncher:HotkeyControl
x:Name="HotkeyControl" x:Name="HotkeyControl"
Grid.Column="1" Grid.Column="1"
Width="200"
Height="36"
Margin="10,0,10,0" Margin="10,0,10,0"
HorizontalAlignment="Left" HorizontalAlignment="Left"
VerticalAlignment="Center" VerticalAlignment="Center"