|
44 | 44 | <TextBlock Style="{StaticResource DefaultTextBlock}" Text="{StaticResource String_SelectTheSettingsYouWantToImport}" Margin="0,0,0,10" /> |
45 | 45 | <RadioButton x:Name="radioButtonImportEverything" Content="{DynamicResource String_RadioButton_Everything}" IsChecked="{Binding ImportEverything}" Margin="0,0,0,10"/> |
46 | 46 | <RadioButton x:Name="radioButtonImportCustom" Content="{DynamicResource String_RadioButton_Custom}" Margin="0,0,0,10"/> |
47 | | - <GroupBox Margin="20,0,0,10" MinWidth="250" HorizontalAlignment="Left"> |
| 47 | + <GroupBox HorizontalAlignment="Left" Margin="20,0,0,10"> |
48 | 48 | <GroupBox.Style> |
49 | 49 | <Style TargetType="{x:Type GroupBox}" BasedOn="{StaticResource WithoutHeaderGroupBox}"> |
50 | 50 | <Setter Property="IsEnabled" Value="False" /> |
|
55 | 55 | </Style.Triggers> |
56 | 56 | </Style> |
57 | 57 | </GroupBox.Style> |
58 | | - <StackPanel> |
59 | | - <CheckBox Content="{DynamicResource String_ApplicationSettings}" IsEnabled="{Binding ImportApplicationSettingsExists}" IsChecked="{Binding ImportApplicationSettings}" Margin="0,0,0,10"/> |
60 | | - <CheckBox Content="{DynamicResource String_NetworkInterfaceProfiles}" IsEnabled="{Binding ImportNetworkInterfaceProfilesExists}" IsChecked="{Binding ImportNetworkInterfaceProfiles}" Margin="0,0,0,10"/> |
61 | | - <CheckBox Content="{DynamicResource String_WakeOnLANClients}" IsEnabled="{Binding ImportWakeOnLANClientsExists}" IsChecked="{Binding ImportWakeOnLANClients}" /> |
62 | | - </StackPanel> |
| 58 | + <Grid> |
| 59 | + <Grid.ColumnDefinitions> |
| 60 | + <ColumnDefinition MinWidth="240" /> |
| 61 | + <ColumnDefinition Width="10" /> |
| 62 | + <ColumnDefinition Width="Auto" /> |
| 63 | + </Grid.ColumnDefinitions> |
| 64 | + <Grid.RowDefinitions> |
| 65 | + <RowDefinition Height="Auto" /> |
| 66 | + <RowDefinition Height="10" /> |
| 67 | + <RowDefinition Height="Auto" /> |
| 68 | + <RowDefinition Height="10" /> |
| 69 | + <RowDefinition Height="Auto" /> |
| 70 | + </Grid.RowDefinitions> |
| 71 | + <CheckBox Grid.Column="0" Grid.Row="0" Content="{DynamicResource String_ApplicationSettings}" IsEnabled="{Binding ImportApplicationSettingsExists}" IsChecked="{Binding ImportApplicationSettings}" /> |
| 72 | + <CheckBox Grid.Column="0" Grid.Row="2" Content="{DynamicResource String_NetworkInterfaceProfiles}" IsEnabled="{Binding ImportNetworkInterfaceProfilesExists}" IsChecked="{Binding ImportNetworkInterfaceProfiles}" /> |
| 73 | + <Grid Grid.Column="2" Grid.Row="2" IsEnabled="{Binding ImportNetworkInterfaceProfilesExists}"> |
| 74 | + <Grid.ColumnDefinitions> |
| 75 | + <ColumnDefinition MinWidth="100" /> |
| 76 | + <ColumnDefinition Width="10" /> |
| 77 | + <ColumnDefinition MinWidth="100" /> |
| 78 | + </Grid.ColumnDefinitions> |
| 79 | + <RadioButton Grid.Column="0" Grid.Row="0" Content="Replace" /> |
| 80 | + <RadioButton Grid.Column="2" Grid.Row="0" Content="Add" /> |
| 81 | + </Grid> |
| 82 | + <CheckBox Grid.Column="0" Grid.Row="4" Content="{DynamicResource String_WakeOnLANClients}" IsEnabled="{Binding ImportWakeOnLANClientsExists}" IsChecked="{Binding ImportWakeOnLANClients}" /> |
| 83 | + <Grid Grid.Column="2" Grid.Row="4" IsEnabled="{Binding ImportWakeOnLANClientsExists}"> |
| 84 | + <Grid.ColumnDefinitions> |
| 85 | + <ColumnDefinition MinWidth="100" /> |
| 86 | + <ColumnDefinition Width="10" /> |
| 87 | + <ColumnDefinition MinWidth="100" /> |
| 88 | + </Grid.ColumnDefinitions> |
| 89 | + <RadioButton Grid.Column="0" Grid.Row="0" Content="Replace" /> |
| 90 | + <RadioButton Grid.Column="2" Grid.Row="0" Content="Add" /> |
| 91 | + </Grid> |
| 92 | + </Grid> |
63 | 93 | </GroupBox> |
64 | 94 | <Button Content="{DynamicResource String_Button_Import}" Command="{Binding ImportSettingsCommand}" HorizontalAlignment="Left" > |
65 | 95 | <Button.Style> |
|
0 commit comments