Skip to content

Commit

Permalink
Tidy up config dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
CaffeineAU committed Aug 22, 2016
1 parent a1bb82e commit 7459011
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Translator/ConfigWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
Title="Configure..." Height="400" Width="600" Background="#FF4692D1" Icon="speech-bubble.ico" ResizeMode="NoResize" WindowStyle="ToolWindow" ShowInTaskbar="False" WindowStartupLocation="CenterOwner" Loaded="Window_Loaded">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"/>
<ColumnDefinition Width="80"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="100"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="100"/>
<RowDefinition Height="80"/>
<RowDefinition Height="*"/>
<RowDefinition Height="60"/>
</Grid.RowDefinitions>
<Image Source="{Binding HeaderImage}" HorizontalAlignment="Left" Margin="5" VerticalAlignment="Stretch" Width="90"/>
<Image Source="{Binding HeaderImage}" HorizontalAlignment="Left" Margin="5" VerticalAlignment="Stretch" Width="70"/>
<StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Grid.ColumnSpan="3" Margin="5" Grid.RowSpan="2" VerticalAlignment="Stretch" Background="White" >
<GroupBox Margin="5" Padding="10" Header="Program options" BorderBrush="#FF4692D1" >
<StackPanel>
Expand All @@ -33,7 +33,7 @@
<CheckBox Margin="5" Content="Encode MP3 files to WAV" Visibility="Collapsed" IsChecked="{Binding Source={x:Static properties:Settings.Default}, Path=EncodeToWav}"/>
<CheckBox Margin="5" Content="Remember language settings" IsChecked="{Binding Source={x:Static properties:Settings.Default}, Path=RememberLanguageSettings}"/>
<StackPanel Orientation="Horizontal">
<CheckBox Margin="5" Content="Encode MP3 to WAV" VerticalContentAlignment="Center" IsChecked="{Binding Source={x:Static properties:Settings.Default}, Path=EncodeToWav}"/>
<CheckBox Margin="5" Content="Encode MP3 to WAV" VerticalContentAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding Source={x:Static properties:Settings.Default}, Path=EncodeToWav}"/>
<Label Margin="5" Content="Sample Rate"/>
<ComboBox Margin="5" ItemsSource="{Binding SampleRates}" SelectedItem="{Binding Source={x:Static properties:Settings.Default}, Path=WavSampleRate}" SelectionChanged="ComboBox_SelectionChanged"/>
<Label Margin="5" Content="Bits per sample"/>
Expand Down
4 changes: 2 additions & 2 deletions Translator/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.4.0")]
[assembly: AssemblyFileVersion("2.1.4.0")]
[assembly: AssemblyVersion("2.1.4.1")]
[assembly: AssemblyFileVersion("2.1.4.1")]

0 comments on commit 7459011

Please sign in to comment.