diff options
author | sr55 <[email protected]> | 2013-05-11 12:45:45 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-05-11 12:45:45 +0000 |
commit | a09e24030d455e435096be0dbaf4370c5696d787 (patch) | |
tree | f9e517d91c1e592e064bfc0ab3bceca7f1acff60 | |
parent | 00a8ff385456a670b2d72f60cd20bfa49340f7ef (diff) |
WinGui: Fix a number of cosmetic issues and a bug with the Check for updates dropdown on a clean system.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5450 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | 6 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/AudioView.xaml | 2 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/OptionsView.xaml | 6 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/SubtitlesView.xaml | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs index 361094689..bde7bc38c 100644 --- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs @@ -1464,13 +1464,13 @@ namespace HandBrakeWPF.ViewModels switch (this.userSettingService.GetUserSetting<int>(UserSettingConstants.DaysBetweenUpdateCheck))
{
case 1:
- this.CheckForUpdatesFrequency = 1;
+ this.CheckForUpdatesFrequency = 0;
break;
case 7:
- this.CheckForUpdatesFrequency = 2;
+ this.CheckForUpdatesFrequency = 1;
break;
case 30:
- this.CheckForUpdatesFrequency = 3;
+ this.CheckForUpdatesFrequency = 2;
break;
}
diff --git a/win/CS/HandBrakeWPF/Views/AudioView.xaml b/win/CS/HandBrakeWPF/Views/AudioView.xaml index c63346642..3cb8423a2 100644 --- a/win/CS/HandBrakeWPF/Views/AudioView.xaml +++ b/win/CS/HandBrakeWPF/Views/AudioView.xaml @@ -41,7 +41,7 @@ <ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Button Grid.Column="0"
- Width="75"
+ MaxWidth="95"
Margin="0,0,10,0"
cal:Message.Attach="[Event Click] = [Action Add]"
Content="Add Track" />
diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml b/win/CS/HandBrakeWPF/Views/OptionsView.xaml index c2e88150d..31fa1e8fd 100644 --- a/win/CS/HandBrakeWPF/Views/OptionsView.xaml +++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml @@ -251,8 +251,8 @@ <DockPanel Grid.Column="1" Margin="10,0,10,0">
<StackPanel Orientation="Vertical" VerticalAlignment="Center">
- <Button Content="Move Right" VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveRight]" Width="80" />
- <Button Content="Move Left" VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveLeft]" Width="80" />
+ <Button Content="Move Right" VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveRight]" MaxWidth="90" />
+ <Button Content="Move Left" VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveLeft]" MaxWidth="90" />
<Button Content="Clear" VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageClearAll]" Width="80"/>
</StackPanel>
</DockPanel>
@@ -402,7 +402,7 @@ <TextBlock Text="Updates" Grid.Column="0" FontSize="14" Margin="0,10,0,10"/>
<StackPanel Margin="20,0,0,0" Orientation="Horizontal">
- <Button Content="Check for Updates" Width="120" Margin="0,0,5,0" cal:Message.Attach="[Event Click] = [Action PerformUpdateCheck]" />
+ <Button Content="Check for Updates" MaxWidth="130" Margin="0,0,5,0" cal:Message.Attach="[Event Click] = [Action PerformUpdateCheck]" />
<Button Content="Download Update" Width="120" cal:Message.Attach="[Event Click] = [Action DownloadUpdate]" Visibility="{Binding UpdateAvailable, Converter={StaticResource boolToVisConverter}}" />
</StackPanel>
diff --git a/win/CS/HandBrakeWPF/Views/SubtitlesView.xaml b/win/CS/HandBrakeWPF/Views/SubtitlesView.xaml index a99989189..cd8529937 100644 --- a/win/CS/HandBrakeWPF/Views/SubtitlesView.xaml +++ b/win/CS/HandBrakeWPF/Views/SubtitlesView.xaml @@ -41,7 +41,7 @@ cal:Message.Attach="[Event Click] = [Action Add]"
Content="Add" />
<Button Grid.Column="2"
- Width="85"
+ MaxWidth="100"
cal:Message.Attach="[Event Click] = [Action Import]"
Content="Import SRT" />
</Grid>
|