|
62 | 62 | <TabItem.Content> |
63 | 63 | <StackPanel Orientation="Vertical" Margin="0,10,0,0"> |
64 | 64 | <Border BorderThickness="1" Background="#198AB328" Padding="10,10" Margin="0,0,0,0" |
65 | | - MinHeight="75"> |
| 65 | + MinHeight="75" |
| 66 | + IsEnabled="{Binding IsSavingConfiguration, Converter={StaticResource ReverseBoolToEnabledConverter}}"> |
66 | 67 | <Border.BorderBrush> |
67 | 68 | <DrawingBrush Viewport="0,0,8,8" ViewportUnits="Absolute" TileMode="Tile" |
68 | 69 | Opacity="0.4"> |
|
144 | 145 | VerticalAlignment="Bottom" HorizontalAlignment="Right" |
145 | 146 | Content="{lex:Loc Key=default_settings_apply_settings}" |
146 | 147 | Cursor="Hand" |
147 | | - IsEnabled="{Binding IsSavingConfiguration, Converter={StaticResource ReverseBoolToEnabledConverter}}" |
148 | 148 | Style="{DynamicResource AccentedSquareButtonStyle}" /> |
149 | 149 | </Grid> |
150 | 150 | </UniformGrid> |
|
390 | 390 | Foreground="#FF8ab329" |
391 | 391 | HorizontalAlignment="Left" |
392 | 392 | VerticalAlignment="Center" /> |
393 | | - <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="0" Margin="5,0,0,3"> |
| 393 | + <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="0" |
| 394 | + Margin="5,0,0,3"> |
394 | 395 | <TextBlock Text="{lex:Loc Key=resolvers_available_resolvers_header}" |
395 | 396 | TextWrapping="Wrap" VerticalAlignment="Center" |
396 | 397 | Foreground="#FF8ab329" FontSize="20" |
|
403 | 404 | </TextBlock> |
404 | 405 | </StackPanel> |
405 | 406 | <Button x:Name="SaveLocalServers" Grid.Column="2" Grid.Row="0" |
406 | | - Cursor="Hand" IsEnabled="{Binding Resolvers.Count, Converter={StaticResource IntegerToBoolConverter}}" |
| 407 | + Cursor="Hand" |
| 408 | + IsEnabled="{Binding Resolvers.Count, Converter={StaticResource IntegerToBoolConverter}}" |
407 | 409 | Content="{lex:Loc Key=default_settings_apply_settings}" |
408 | 410 | Width="Auto" HorizontalAlignment="Right" |
409 | 411 | Style="{DynamicResource AccentedSquareButtonStyle}" /> |
|
445 | 447 | <RowDefinition Height="350" /> |
446 | 448 | </Grid.RowDefinitions> |
447 | 449 | <ScrollViewer VerticalScrollBarVisibility="Auto" Margin="0,5,0,0"> |
448 | | - <ItemsControl ItemsSource="{Binding Resolvers}" IsEnabled="True" Margin="0"> |
| 450 | + <ItemsControl ItemsSource="{Binding Resolvers}" IsEnabled="True" |
| 451 | + Margin="0"> |
449 | 452 | <ItemsControl.ItemsPanel> |
450 | 453 | <ItemsPanelTemplate> |
451 | 454 | <UniformGrid Columns="3" /> |
|
476 | 479 | </ItemsControl.ItemTemplate> |
477 | 480 | </ItemsControl> |
478 | 481 | </ScrollViewer> |
479 | | - <TextBlock Foreground="#FF575757" Text="No resolvers have been loaded yet" Visibility="{Binding Resolvers.Count, Converter={StaticResource IntegerToVisibilityConverter}}" |
480 | | - HorizontalAlignment="Center" VerticalAlignment="Center"/> |
| 482 | + <TextBlock Foreground="#FF575757" Text="No resolvers have been loaded yet" |
| 483 | + Visibility="{Binding Resolvers.Count, Converter={StaticResource IntegerToVisibilityConverter}}" |
| 484 | + HorizontalAlignment="Center" VerticalAlignment="Center" /> |
481 | 485 | </Grid> |
482 | 486 | </StackPanel> |
483 | 487 | </Border> |
|
0 commit comments