]> granicus.if.org Git - handbrake/commitdiff
WinGui: Increase Queue Window size and make more space for the Filenames on the left...
authorsr55 <sr55.hb@outlook.com>
Fri, 29 Mar 2019 21:31:49 +0000 (21:31 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 29 Mar 2019 21:32:12 +0000 (21:32 +0000)
win/CS/HandBrakeWPF/Properties/Resources.Designer.cs
win/CS/HandBrakeWPF/Properties/Resources.resx
win/CS/HandBrakeWPF/Views/QueueView.xaml
win/CS/HandBrakeWPF/Views/QueueView.xaml.cs

index 14d2c2732a9b9284661644afbdf0ed67110423aa..13ecd9daa6e4a9095149746db401a977bb0dc853 100644 (file)
@@ -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 {
         }
         
         /// <summary>
-        ///   Looks up a localized string similar to Destination: .
+        ///   Looks up a localized string similar to Dest: .
         /// </summary>
         public static string QueueView_Destination {
             get {
@@ -4067,7 +4067,7 @@ namespace HandBrakeWPF.Properties {
         }
         
         /// <summary>
-        ///   Looks up a localized string similar to Source: .
+        ///   Looks up a localized string similar to Src: .
         /// </summary>
         public static string QueueView_Source {
             get {
index 066b249abc3a591ea4e7a96234d865813cee8f9c..4546be660d859a7f67fbc8b9e06ebdd834ba4886 100644 (file)
@@ -1458,7 +1458,7 @@ This will not affect your current settings in the Subtitle tab.</value>
     <value>Delete</value>\r
   </data>\r
   <data name="QueueView_Destination" xml:space="preserve">\r
-    <value>Destination: </value>\r
+    <value>Dest: </value>\r
   </data>\r
   <data name="QueueView_DoNothing" xml:space="preserve">\r
     <value>Do nothing</value>\r
@@ -1527,7 +1527,7 @@ This will not affect your current settings in the Subtitle tab.</value>
     <value>Shutdown</value>\r
   </data>\r
   <data name="QueueView_Source" xml:space="preserve">\r
-    <value>Source: </value>\r
+    <value>Src: </value>\r
   </data>\r
   <data name="QueueView_Start" xml:space="preserve">\r
     <value>Start Queue</value>\r
index 5e9c851c101bbb38d03ec0de1a0639dda331be11..14dbb56c474e4ada06c1765a58b8bfa5e4e0f089 100644 (file)
@@ -15,7 +15,7 @@
         xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"\r
         xmlns:queue="clr-namespace:HandBrakeWPF.Converters.Queue"\r
         Title="{Binding Title}"\r
-        Width="750"\r
+        Width="900"\r
         Height="520"\r
         MinWidth="400"\r
         MinHeight="300"\r
@@ -91,7 +91,7 @@
         <Grid Grid.Row="2" Margin="0,15,0,0">\r
             <Grid.ColumnDefinitions>\r
                 <ColumnDefinition Width="3*" MaxWidth="600" x:Name="leftTabPanel" />\r
-                <ColumnDefinition Width="5*" x:Name="rightTabPanel"  />\r
+                <ColumnDefinition Width="4*" x:Name="rightTabPanel"  />\r
             </Grid.ColumnDefinitions>\r
 \r
             <Grid>\r
index 95915e828cbaea046e696f79aee474f8c3076149..b29e6e8e24ffc40708b75df3f974557f85e82fd3 100644 (file)
@@ -39,9 +39,11 @@ namespace HandBrakeWPF.Views
             // Make the view adaptive. \r
             if (e.WidthChanged)\r
             {\r
-                this.summaryTabControl.Visibility = this.ActualWidth < 600 ? Visibility.Collapsed : Visibility.Visible;\r
-                this.leftTabPanel.Width = this.ActualWidth < 600 ? new GridLength(this.ActualWidth - 10, GridUnitType.Star) : new GridLength(3, GridUnitType.Star);\r
-                this.leftTabPanel.MaxWidth = this.ActualWidth < 600 ? 650 : 400;\r
+                int queueSizeLimit = 675;\r
+\r
+                this.summaryTabControl.Visibility = this.ActualWidth < queueSizeLimit ? Visibility.Collapsed : Visibility.Visible;\r
+                this.leftTabPanel.Width = this.ActualWidth < queueSizeLimit ? new GridLength(this.ActualWidth - 10, GridUnitType.Star) : new GridLength(3, GridUnitType.Star);\r
+                this.leftTabPanel.MaxWidth = this.ActualWidth < queueSizeLimit ? 680 : 500;\r
             }\r
         }\r
         private void ContextMenu_OnOpened(object sender, RoutedEventArgs e)\r