Explorar el Código

其他-优化

OYXH\oyxh hace 1 año
padre
commit
d58d7a952b

+ 4 - 4
PDF Office/Views/Dialog/PageEditDialogs/InsertDialog.xaml

@@ -12,9 +12,9 @@
     xmlns:pageeditdialogs="clr-namespace:PDF_Master.ViewModels.Dialog.PageEditDialogs"
     xmlns:prism="http://prismlibrary.com/"
     Width="468"
-    Height="350"
+    Height="358"
     d:DataContext="{d:DesignInstance Type=pageeditdialogs:InsertDialogViewModel}"
-    d:DesignHeight="350"
+    d:DesignHeight="358"
     d:DesignWidth="468"
     prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
     prism:ViewModelLocator.AutoWireViewModel="True"
@@ -122,7 +122,7 @@
                         </ItemsPanelTemplate>
                     </ListBox.ItemsPanel>
                 </ListBox>
-                <StackPanel Grid.Row="0" Margin="16,0,16,10">
+                <StackPanel Grid.Row="0" Margin="16,5,16,12">
                     <TextBlock
                         FontFamily="Segoe UI"
                         FontSize="12"
@@ -207,7 +207,7 @@
                             VerticalAlignment="Center"
                             FontFamily="Segoe UI"
                             FontSize="14"
-                            Text="X" />
+                            Text="X" Margin="5,0" />
                         <!--<TextBox
                         Width="80"
                         Height="32"

+ 3 - 3
PDF Office/Views/Dialog/PageEditDialogs/SplitDialog.xaml

@@ -8,10 +8,10 @@
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     xmlns:pageeditdialogs="clr-namespace:PDF_Master.ViewModels.Dialog.PageEditDialogs"
     xmlns:prism="http://prismlibrary.com/"
-    Width="480"
-    Height="460"
+    Width="468"
+    Height="464"
     d:DataContext="{d:DesignInstance Type=pageeditdialogs:SplitDialogViewModel}"
-    d:DesignHeight="480"
+    d:DesignHeight="464"
     d:DesignWidth="468"
     prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
     prism:ViewModelLocator.AutoWireViewModel="True"

+ 4 - 4
PDF Office/Views/ViewContent.xaml.cs

@@ -40,7 +40,9 @@ namespace PDF_Master.Views
         /// <summary>
         /// 是否是展开工具栏
         /// </summary>
-        private bool expandToolRow = true;
+        private bool expandToolRow = true;
+
+        private bool DelayIsEnable = true;
 
         public ViewContent()
         {
@@ -204,10 +206,8 @@ namespace PDF_Master.Views
                     Grid.SetColumn(GridViewer, 0);
                 }
             }
-        }
+        }
 
-        private bool DelayIsEnable = true;
-
         /// <summary>
         /// 鼠标移动到控件范围时显示控件
         /// </summary>