From: sr55 Date: Fri, 29 Mar 2019 21:31:49 +0000 (+0000) Subject: WinGui: Increase Queue Window size and make more space for the Filenames on the left... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8f5368c4000cf6a07ee4ad28393ce0051fb7d22;p=handbrake WinGui: Increase Queue Window size and make more space for the Filenames on the left panel. #2009 --- diff --git a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs index 14d2c2732..13ecd9daa 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace HandBrakeWPF.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] public class Resources { @@ -3842,7 +3842,7 @@ namespace HandBrakeWPF.Properties { } /// - /// Looks up a localized string similar to Destination: . + /// Looks up a localized string similar to Dest: . /// public static string QueueView_Destination { get { @@ -4067,7 +4067,7 @@ namespace HandBrakeWPF.Properties { } /// - /// Looks up a localized string similar to Source: . + /// Looks up a localized string similar to Src: . /// public static string QueueView_Source { get { diff --git a/win/CS/HandBrakeWPF/Properties/Resources.resx b/win/CS/HandBrakeWPF/Properties/Resources.resx index 066b249ab..4546be660 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.resx @@ -1458,7 +1458,7 @@ This will not affect your current settings in the Subtitle tab. Delete - Destination: + Dest: Do nothing @@ -1527,7 +1527,7 @@ This will not affect your current settings in the Subtitle tab. Shutdown - Source: + Src: Start Queue diff --git a/win/CS/HandBrakeWPF/Views/QueueView.xaml b/win/CS/HandBrakeWPF/Views/QueueView.xaml index 5e9c851c1..14dbb56c4 100644 --- a/win/CS/HandBrakeWPF/Views/QueueView.xaml +++ b/win/CS/HandBrakeWPF/Views/QueueView.xaml @@ -15,7 +15,7 @@ xmlns:Properties="clr-namespace:HandBrakeWPF.Properties" xmlns:queue="clr-namespace:HandBrakeWPF.Converters.Queue" Title="{Binding Title}" - Width="750" + Width="900" Height="520" MinWidth="400" MinHeight="300" @@ -91,7 +91,7 @@ - + diff --git a/win/CS/HandBrakeWPF/Views/QueueView.xaml.cs b/win/CS/HandBrakeWPF/Views/QueueView.xaml.cs index 95915e828..b29e6e8e2 100644 --- a/win/CS/HandBrakeWPF/Views/QueueView.xaml.cs +++ b/win/CS/HandBrakeWPF/Views/QueueView.xaml.cs @@ -39,9 +39,11 @@ namespace HandBrakeWPF.Views // Make the view adaptive. if (e.WidthChanged) { - this.summaryTabControl.Visibility = this.ActualWidth < 600 ? Visibility.Collapsed : Visibility.Visible; - this.leftTabPanel.Width = this.ActualWidth < 600 ? new GridLength(this.ActualWidth - 10, GridUnitType.Star) : new GridLength(3, GridUnitType.Star); - this.leftTabPanel.MaxWidth = this.ActualWidth < 600 ? 650 : 400; + int queueSizeLimit = 675; + + this.summaryTabControl.Visibility = this.ActualWidth < queueSizeLimit ? Visibility.Collapsed : Visibility.Visible; + this.leftTabPanel.Width = this.ActualWidth < queueSizeLimit ? new GridLength(this.ActualWidth - 10, GridUnitType.Star) : new GridLength(3, GridUnitType.Star); + this.leftTabPanel.MaxWidth = this.ActualWidth < queueSizeLimit ? 680 : 500; } } private void ContextMenu_OnOpened(object sender, RoutedEventArgs e)