Skip to content

Commit c769ee5

Browse files
committed
Prettify hotkeys window
1 parent 5469a5d commit c769ee5

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

EddiCore/Hotkeys/HotkeysWindow.xaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,23 @@
1313
>
1414
<StackPanel Orientation="Vertical" Margin="5">
1515
<StackPanel Orientation="Horizontal" >
16-
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Action:" Margin="5" />
17-
<ComboBox x:Name="actionComboBox" MinWidth="220" SelectionChanged="ActionComboBoxOnSelectionChanged" Margin="5"/>
16+
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Action:" MinWidth="42" Margin="5" />
17+
<ComboBox x:Name="actionComboBox" MinWidth="273" SelectionChanged="ActionComboBoxOnSelectionChanged" Margin="5"/>
18+
</StackPanel>
19+
<StackPanel Orientation="Horizontal">
20+
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Hotkey:" MinWidth="42" Margin="5" />
21+
<Border BorderThickness="0.5" Margin="5,5,5,5" BorderBrush="Black" Background="DarkGray">
22+
<TextBlock x:Name="hotkeyTextBlock"
23+
Text="Press the desired key combination."
24+
HorizontalAlignment="Center" TextAlignment="Center" VerticalAlignment="Center"
25+
Background="WhiteSmoke"
26+
Margin="1" MinWidth="200" TextWrapping="Wrap" />
27+
</Border>
1828
<Button VerticalAlignment="Center"
1929
Content="Clear"
2030
Click="ClearHotkeyButton_Click"
2131
Margin="5" MinWidth ="60" />
2232
</StackPanel>
23-
<TextBlock x:Name="hotkeyTextBlock" HorizontalAlignment="Center" TextAlignment="Center" VerticalAlignment="Center" Margin="5" MinWidth="200" TextWrapping="Wrap" />
2433
<UniformGrid Rows="1" Columns="2" HorizontalAlignment="Center" Margin="5, 0" >
2534
<Button IsDefault="True"
2635
Content="OK"

0 commit comments

Comments
 (0)