         }
         
         
-        var yPos:CGFloat = self.statusBarHeight + 10
+        var yPos:CGFloat = QToasterConfig.statusBarHeight + 10
         
-        let toasterViewFrame = CGRectMake(0,0 - toasterHeight, self.width,toasterHeight)
+        let toasterViewFrame = CGRectMake(0,0 - toasterHeight, QToasterConfig.screenWidth,toasterHeight)
         
         viewArea.frame = toasterViewFrame
         viewArea.userInteractionEnabled = false

    var viewArea = UIView()
    
    var minHeight:CGFloat{
        return self.statusBarHeight + 40
    }
    var textSize:CGSize{
        if toaster.iconImage == nil && (toaster.iconURL == nil || toaster.iconURL == "") {
            return textSize(toaster.text, font: toaster.textFont, maxWidth: self.width - 20)
        }else{
            return textSize(toaster.text, font: toaster.textFont, maxWidth: self.width - toaster.iconSquareSize - 25)
        }
    }
    var titleSize:CGSize{
        if toaster.titleText != nil && toaster.titleText != ""{
            if toaster.iconImage == nil && (toaster.iconURL == nil || toaster.iconURL == "") {
                return textSize(toaster.titleText!, font: toaster.textFont, maxWidth: self.width - 20)
            }else{
                return textSize(toaster.titleText!, font: toaster.textFont, maxWidth: self.width -  toaster.iconSquareSize - 25)
            }
        }else{
            return CGSizeMake(0, 0)
        }
    }
    
    var width:CGFloat{
        get{
            return UIScreen.mainScreen().bounds.size.width
        }
    }
    
    var statusBarHeight:CGFloat{
        get{
            return UIApplication.sharedApplication().statusBarFrame.size.height
        }
    }
    

                iconView.image = toaster.iconImage
            }
            if toaster.iconURL != nil && toaster.iconURL != "" {
                QToasterConfig.imageForUrl(toaster.iconURL!, completionHandler:{(image: UIImage?, url: String) in
                    iconView.image = image
                })
            }
