瀏覽代碼

add a checkbox for startup option in preferences

Grant Limberg 9 年之前
父節點
當前提交
3fb224cb22
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      windows/WinUI/PreferencesView.xaml

+ 3 - 2
windows/WinUI/PreferencesView.xaml

@@ -5,8 +5,9 @@
         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
         xmlns:local="clr-namespace:WinUI"
         mc:Ignorable="d"
-        Title="PreferencesView" Height="300" Width="300" Icon="ZeroTierIcon.ico">
+        Title="PreferencesView" SizeToContent="WidthAndHeight" Height="Auto" Width="Auto" Icon="ZeroTierIcon.ico">
     <Grid>
-        
+        <CheckBox x:Name="checkBox" Content="Launch ZeroTier On Startup" HorizontalAlignment="Left" Margin="10,10,10,10" VerticalAlignment="Top"/>
+
     </Grid>
 </Window>