OYXH\oyxh пре 1 година
родитељ
комит
71ff0d329a
1 измењених фајлова са 1 додато и 8 уклоњено
  1. 1 8
      PDF Office/Views/MainWindow.xaml.cs

+ 1 - 8
PDF Office/Views/MainWindow.xaml.cs

@@ -321,20 +321,13 @@ namespace PDF_Master.Views
         private void UpdateTitleMargin()
         {
             var width = StkPnlRight.ActualWidth;
-            double width1 = this.ActualWidth;
-            double width2 = TabablzControl.ActualWidth;
+
             if (BorderUpgrade.Visibility == Visibility.Collapsed)
             {
                 BtnAdd.Margin = new Thickness(8, 13, width, 7);
-                Trace.WriteLine("BorderUpgrade.Collapsed " + width1);
-                Trace.WriteLine("BorderUpgrade.Collapsed " + width2);
-                Trace.WriteLine("BorderUpgrade.Collapsed " + width);
             }
             else
             {
-                Trace.WriteLine("BorderUpgrade.Visibility " + width1);
-                Trace.WriteLine("BorderUpgrade.Visibility " + width2);
-                Trace.WriteLine("BorderUpgrade.Visibility " + width);
                 if (this.WindowState == WindowState.Maximized)
                 {
                     BtnAdd.Margin = new Thickness(8, 13, width, 7);