KMPreferenceAligementView.swift 499 B

123456789101112131415161718192021222324
  1. //
  2. // KMPreferenceAligementView.swift
  3. // PDF Reader Pro
  4. //
  5. // Created by tangchao on 2023/2/4.
  6. //
  7. import Cocoa
  8. class KMPreferenceAligementView: KMWatermarkAligementView {
  9. override func initSubViews() {
  10. super.initSubViews()
  11. wantsLayer = true
  12. layer?.borderWidth = 0
  13. layer?.cornerRadius = 2
  14. for line in [vLine, vLine2] {
  15. line.wantsLayer = true
  16. line.layer?.backgroundColor = NSColor.clear.cgColor
  17. }
  18. }
  19. }