diff options
Diffstat (limited to 'windows/WinUI/PreferencesView.xaml')
-rw-r--r-- | windows/WinUI/PreferencesView.xaml | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/windows/WinUI/PreferencesView.xaml b/windows/WinUI/PreferencesView.xaml index ac61fff1..fd170493 100644 --- a/windows/WinUI/PreferencesView.xaml +++ b/windows/WinUI/PreferencesView.xaml @@ -6,8 +6,25 @@ xmlns:local="clr-namespace:WinUI" mc:Ignorable="d" Title="PreferencesView" SizeToContent="WidthAndHeight" Height="Auto" Width="Auto" Icon="ZeroTierIcon.ico"> - <Grid> - <CheckBox x:Name="startupCheckbox" Content="Launch ZeroTier On Startup" HorizontalAlignment="Left" Margin="10,10,10,10" VerticalAlignment="Top" Checked="startupCheckbox_Checked" Unchecked="startupCheckbox_Unchecked"/> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <CheckBox x:Name="startupCheckbox" Content="Launch ZeroTier On Startup" HorizontalAlignment="Left" Margin="10" VerticalAlignment="Top" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0"/> + + <TextBlock Text="Central Instance:" Grid.Row="1" Grid.Column="0" Margin="10"/> + <TextBox x:Name="CentralInstanceTextBox" Grid.Row="1" Grid.Column="1" MinWidth="200" Margin="10"/> - </Grid> + <TextBlock Text="API Key:" Grid.Row="2" Grid.Column="0" Margin="10"/> + <TextBox x:Name="APIKeyTextBox" Grid.Row="2" Grid.Column="1" MinWidth="200" Margin="10"/> + + <Button x:Name="OKButton" Grid.Row="3" Grid.Column="1" Background="#FFFFB354" Content="OK" Margin="10" Width="90" HorizontalAlignment="Right" Click="OKButton_Clicked"/> + </Grid> </Window> |