-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSettingsWindow.axaml
More file actions
27 lines (23 loc) · 1.28 KB
/
SettingsWindow.axaml
File metadata and controls
27 lines (23 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="AutoClacker.SettingsWindow"
Title="Settings"
Width="350" Height="250"
WindowStartupLocation="CenterOwner">
<StackPanel Margin="20" Spacing="15">
<TextBlock Text="Settings" FontSize="20" FontWeight="Bold" HorizontalAlignment="Center"/>
<!-- Trigger Key -->
<StackPanel Spacing="5">
<TextBlock Text="Start/Stop Hotkey:" FontWeight="SemiBold"/>
<StackPanel Orientation="Horizontal" Spacing="10">
<Button x:Name="SetTriggerButton" Content="Set Hotkey" Click="SetTriggerButton_Click" Width="120"/>
<TextBlock x:Name="TriggerKeyLabel" Text="F6" VerticalAlignment="Center" FontWeight="Bold"/>
</StackPanel>
<TextBlock Text="Press this key globally to start/stop" Opacity="0.6" FontSize="11"/>
</StackPanel>
<!-- Debug Console Toggle -->
<CheckBox x:Name="DebugConsoleCheckbox" Content="Show Debug Console (requires restart)" Click="DebugConsoleCheckbox_Click"/>
<!-- Close Button -->
<Button Content="Close" Click="CloseButton_Click" HorizontalAlignment="Stretch" Margin="0,10,0,0"/>
</StackPanel>
</Window>