  
  ------------------------------------------------------------------------------
  
- © 2015-2016 1024jp
+ © 2015-2018 1024jp
  
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.

    
    // MARK: Private Properties
    
    private let leftPadding: CGFloat = 28.0
    
    
    

    
    // MARK: View Methods
    
    /// add paddings
    override var frame: NSRect {
        didSet {
            guard frame.minX < self.leadingPadding else { return }  // avoid infinity loop
            
            frame.origin.x += self.leadingPadding
            frame.size.width -= self.leadingPadding
            frame.size.width -= self.tailingPadding
        }
    }
    
