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