Align add options checkboxes
This commit is contained in:
parent
62c700c8cd
commit
67db535abf
@ -9,19 +9,14 @@
|
|||||||
Background="{DynamicResource Ui.Brush.Surface}">
|
Background="{DynamicResource Ui.Brush.Surface}">
|
||||||
<Grid Margin="14">
|
<Grid Margin="14">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="Auto" />
|
||||||
|
<RowDefinition Height="16" />
|
||||||
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="*" />
|
<RowDefinition Height="*" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
<Grid Grid.Row="0"
|
<Grid Grid.Row="0">
|
||||||
VerticalAlignment="Top">
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid Grid.Row="0"
|
|
||||||
Margin="0,0,0,12">
|
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto" />
|
<ColumnDefinition Width="Auto" />
|
||||||
<ColumnDefinition Width="*" />
|
<ColumnDefinition Width="*" />
|
||||||
@ -33,6 +28,7 @@
|
|||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Margin="0,0,12,0" />
|
Margin="0,0,12,0" />
|
||||||
<ComboBox Grid.Column="1"
|
<ComboBox Grid.Column="1"
|
||||||
|
Height="32"
|
||||||
Style="{StaticResource UiCombo}"
|
Style="{StaticResource UiCombo}"
|
||||||
ItemsSource="{Binding Profiles}"
|
ItemsSource="{Binding Profiles}"
|
||||||
SelectedItem="{Binding SelectedProfile, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
|
SelectedItem="{Binding SelectedProfile, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
|
||||||
@ -45,19 +41,44 @@
|
|||||||
</ComboBox>
|
</ComboBox>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<StackPanel Grid.Row="1"
|
<Grid Grid.Row="2"
|
||||||
Orientation="Horizontal">
|
Height="32"
|
||||||
<CheckBox VerticalAlignment="Center"
|
VerticalAlignment="Top">
|
||||||
Content="Отключать субтитры"
|
<Grid.ColumnDefinitions>
|
||||||
IsChecked="{Binding DisableSubtitleDefault, Mode=TwoWay}"
|
<ColumnDefinition Width="18" />
|
||||||
Margin="0,0,18,0" />
|
<ColumnDefinition Width="Auto" />
|
||||||
<CheckBox VerticalAlignment="Center"
|
<ColumnDefinition Width="24" />
|
||||||
Content="Удалять иностранные дорожки"
|
<ColumnDefinition Width="18" />
|
||||||
|
<ColumnDefinition Width="Auto" />
|
||||||
|
<ColumnDefinition Width="*" />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
|
<CheckBox Grid.Column="0"
|
||||||
|
Width="18"
|
||||||
|
Height="18"
|
||||||
|
Margin="0"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
IsChecked="{Binding DisableSubtitleDefault, Mode=TwoWay}" />
|
||||||
|
<TextBlock Grid.Column="1"
|
||||||
|
Text="Отключать субтитры"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
FontSize="12" />
|
||||||
|
|
||||||
|
<CheckBox Grid.Column="3"
|
||||||
|
Width="18"
|
||||||
|
Height="18"
|
||||||
|
Margin="0"
|
||||||
|
VerticalAlignment="Center"
|
||||||
IsChecked="{Binding RemoveForeignAudioAndSubtitles, Mode=TwoWay}" />
|
IsChecked="{Binding RemoveForeignAudioAndSubtitles, Mode=TwoWay}" />
|
||||||
</StackPanel>
|
<TextBlock Grid.Column="4"
|
||||||
|
Text="Удалять иностранные дорожки"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
FontSize="12" />
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,12,0,0">
|
<StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,12,0,0">
|
||||||
<Button MinWidth="100"
|
<Button MinWidth="100"
|
||||||
Margin="0,0,8,0"
|
Margin="0,0,8,0"
|
||||||
Style="{StaticResource UiButtonPrimary}"
|
Style="{StaticResource UiButtonPrimary}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user