Ver Fonte

其他 - 更新DLL,补充接口

liyuxuan há 2 anos atrás
pai
commit
fab420682c

BIN
PDF Office/ComPDFKit.Viewer.dll


+ 2 - 2
PDF Office/ViewModels/Form/TextFieldPropertyViewModel.cs

@@ -518,7 +518,7 @@ namespace PDF_Office.ViewModels.Form
                     break;
 
                 case FormAttributeType.HeightSize:
-                    textBoxArgs.DefaultWidth = HeightSize;
+                    textBoxArgs.Height = HeightSize;
                   //AttribEvent?.UpdateAttrib(AnnotAttrib.w, HeightSize);
                     break;
 
@@ -547,7 +547,7 @@ namespace PDF_Office.ViewModels.Form
                     break;
 
                 case FormAttributeType.WidthSize:
-                    textBoxArgs.DefaultWidth = WidthSize;
+                    textBoxArgs.Width = WidthSize;
                     
                     break;