 
 public class TDRoundedNavigationBar: UINavigationBar {
     
-    @IBInspectable public var navBarHeight: Double = 60.0 {
+    @IBInspectable public var height: Double = 160.0 {
         didSet {
             setupAppearance()
         }

    
    override public var bounds : CGRect {      //Set bar size
        didSet {
            self.frame = CGRect(x: bounds.origin.x, y: bounds.origin.y, width: bounds.size.width, height: CGFloat(navBarHeight))
        }
    }
}

    
    func setupAppearance() {
        // Compensate for height change by moving back button
        let offset : CGFloat = (44 - CGFloat(height))/2
        
        TDRoundedNavigationBar.appearance().setTitleVerticalPositionAdjustment(offset, for: UIBarMetrics.default)
        TDRoundedNavigationBar.appearance().setTitleVerticalPositionAdjustment(offset - 5, for: UIBarMetrics.compact)
