Skip to content

Commit

Permalink
Slight reshuffle of options
Browse files Browse the repository at this point in the history
  • Loading branch information
bcssov committed Mar 20, 2024
1 parent cf4029f commit 38091f5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/IronyModManager/Views/Controls/OptionsControlView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,8 @@
<Button Content="{Binding Reset}" Command="{Binding ModCollectionTemplateResetCommand}" Grid.Column="2" Grid.Row="1" />
</Grid>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="3" Grid.Column="0" IsVisible="{Binding UpdatesAllowed}" Margin="0,15">
<Border BorderThickness="1,1,1,1" BorderBrush="{DynamicResource IronyButtonBorderBrush}">
<TextBlock Text="{Binding UpdateOptions}" FontSize="14" HorizontalAlignment="Center" TextWrapping="Wrap" />
</Border>
<Grid RowDefinitions="1*,1*,1*" Margin="0,5">
<CheckBox Content="{Binding AutoUpdate}" IsChecked="{Binding UpdateSettings.AutoUpdates}" Grid.Row="0" />
<CheckBox Content="{Binding CheckForPrerelease}" IsChecked="{Binding UpdateSettings.CheckForPrerelease}" Grid.Row="1" />
<Button Margin="0,5" Content="{Binding CheckForUpdates}" Command="{Binding CheckForUpdatesCommand}" Grid.Row="2"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxHeight="30" />
</Grid>
</StackPanel>
<!-- Must give it absolute height otherwise dumb and dumber can't calculate height properly on first popup opening -->
<StackPanel Orientation="Vertical" Grid.Row="3" Grid.Column="1" Margin="{Binding LeftGameLanguagesMargin}" MinHeight="160" IsVisible="{Binding GameLanguagesVisible}">
<StackPanel Orientation="Vertical" Grid.Row="2" Grid.RowSpan="2" Grid.Column="1" Margin="{Binding LeftGameLanguagesMargin}" MinHeight="160" IsVisible="{Binding GameLanguagesVisible}">
<Border BorderThickness="1,1,1,1" BorderBrush="{DynamicResource IronyButtonBorderBrush}">
<TextBlock Text="{Binding ConflictSolverTitle}" FontSize="14" HorizontalAlignment="Center" TextWrapping="Wrap" />
</Border>
Expand Down Expand Up @@ -234,6 +223,17 @@
</Grid>
</Grid>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="3" Grid.Column="0" IsVisible="{Binding UpdatesAllowed}" Margin="0,15">
<Border BorderThickness="1,1,1,1" BorderBrush="{DynamicResource IronyButtonBorderBrush}">
<TextBlock Text="{Binding UpdateOptions}" FontSize="14" HorizontalAlignment="Center" TextWrapping="Wrap" />
</Border>
<Grid RowDefinitions="1*,1*,1*" Margin="0,5">
<CheckBox Content="{Binding AutoUpdate}" IsChecked="{Binding UpdateSettings.AutoUpdates}" Grid.Row="0" />
<CheckBox Content="{Binding CheckForPrerelease}" IsChecked="{Binding UpdateSettings.CheckForPrerelease}" Grid.Row="1" />
<Button Margin="0,5" Content="{Binding CheckForUpdates}" Command="{Binding CheckForUpdatesCommand}" Grid.Row="2"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxHeight="30" />
</Grid>
</StackPanel>
<Panel Grid.Row="4" Grid.ColumnSpan="2" IsVisible="{Binding UpdateInfoVisible}">
<Grid>
<Grid.ColumnDefinitions>
Expand Down

0 comments on commit 38091f5

Please sign in to comment.