-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSettingsWindow.xaml
More file actions
22 lines (22 loc) · 1.46 KB
/
SettingsWindow.xaml
File metadata and controls
22 lines (22 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<Window x:Class="Just_One_Click.SettingsWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Settings" Height="300" Width="400"
x:Name="Window"
Background="#28282b">
<Grid>
<!-- Add your settings UI controls here -->
<StackPanel Margin="5">
<Label x:Name="SettingsHeader" Foreground="White" Content="General Settings" HorizontalAlignment="Center" FontWeight="Bold" Margin="0,0,0,10"/>
<TextBlock x:Name="PathHeader" Foreground="White" TextAlignment="Center" Text="Path to Preferred Text Editor"/>
<StackPanel Orientation="Horizontal">
<TextBox x:Name="Path" Width="345" Margin="5,0,0,0"/>
<Button x:Name="FileBrowserButton" Width="24" Content="..." Click="FileBrowserDialog"/>
</StackPanel>
<CheckBox Content="Dark Mode" Foreground="White" x:Name="DarkModeCheckbox" Margin="0,5,0,0" IsChecked="{Binding DarkModeEnabled}"/>
<CheckBox Content="Ask for Confirmation when deleting Profiles or Apps" Foreground="White" x:Name="ConfirmationCheckbox" Margin="0,5,0,0" IsChecked="{Binding DeleteConfirmation}"/>
<Button x:Name="SaveBTN" Content="Save" Click="btnSave_Click" Margin="0,10,0,0"/>
<Button x:Name="ResetButton" Content="Reset Save File" Click="ResetClick" Margin="0,10,0,0"/>
</StackPanel>
</Grid>
</Window>