Browse Source

【会员系统】导航栏用户登录按钮文字样式调整

wanjun 3 months ago
parent
commit
eff9ff19a6

+ 6 - 0
PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMVerificationMessageViewController.m

@@ -94,6 +94,12 @@ NSPopoverDelegate>
     self.button.layer.backgroundColor = [NSColor colorWithDeviceRed:121.0/255.0 green:196.0/255.0 blue:66.0/255.0 alpha:1.0].CGColor;
     [self.button setAlignment:NSTextAlignmentCenter];
     
+    self.userButton.wantsLayer = YES;
+    self.userButton.layer.masksToBounds = YES;
+    self.userButton.layer.cornerRadius = 4.0;
+    self.userButton.font = [NSFont SFProTextSemiboldFont:11];
+    self.userButton.layer.backgroundColor = [NSColor colorWithDeviceRed:121.0/255.0 green:196.0/255.0 blue:66.0/255.0 alpha:1.0].CGColor;
+    
     self.secondTrialBtn.wantsLayer = YES;
     self.secondTrialBtn.layer.masksToBounds = YES;
     self.secondTrialBtn.layer.cornerRadius = 4.0;