             let verticalCenter = height / 2.0
             let top:CGFloat = frame.size.height / 2 - ceil(verticalCenter)
             let width = (suffix! as NSString).sizeWithAttributes(attrs).width
-            let rect = CGRectMake(suffixXPosition + spacing, top, width, height)
+            let offset = (width + spacing) / 2
+            let rect = CGRectMake(suffixXPosition + spacing + offset, top, width, height)
             
             // Draw it
             (suffix! as NSString).drawInRect(rect, withAttributes: attrs)

            let verticalCenter = height / 2.0
            let top:CGFloat = frame.size.height / 2 - ceil(verticalCenter)
            let width = (prefix! as NSString).sizeWithAttributes(attrs).width
            let rect = CGRectMake(prefixXPosition, top, width, height)
            
            // Draw it
            (prefix! as NSString).drawInRect(rect, withAttributes: attrs)
        }
    }
    

    }
    
    // A suffix string that will appear just to the right of visible text
    public var suffix:String? {
        didSet {
            setNeedsDisplay()
        }
    }
    
    // A prefix string that will appear just to the left of visible text
    public var prefix:String? {
        didSet {
            setNeedsDisplay()
        }
    }
    
    // Color for the suffix, default to the same color as the text
    public var suffixTextColor:UIColor?
