Ver Fonte

bug - form下拉框字体样式问题

sunhaonan há 11 meses atrás
pai
commit
b8acc51f02

+ 2 - 2
Demo/Examples/Compdfkit_Tools/Form/Property/ComboBoxProperty.xaml.cs

@@ -209,12 +209,12 @@ namespace Compdfkit_Tools.PDFControl
                     case 0:
                         break;
                     case 1:
-                        isItalic = IsItalic(cTextAttribute.FontName);
+                        isItalic = false;
                         isBold = true;
                         break;
                     case 2:
                         isItalic = true;
-                        isBold = IsBold(cTextAttribute.FontName);
+                        isBold = false;
                         break;
                     case 3:
                         isItalic = true;