             metrics:metrics,
             views:views))
         addConstraints(NSLayoutConstraint.constraints(
+            withVisualFormat:"H:|-0-[collectionView]-0-|",
+            options:[],
+            metrics:metrics,
+            views:views))
+        addConstraints(NSLayoutConstraint.constraints(
             withVisualFormat:"V:[buttonCancel(45)]-45-|",
             options:[],
             metrics:metrics,

        
        vibrancyVisual.contentView.addSubview(labelTitle)
        visualEffect.contentView.addSubview(vibrancyVisual)
        addSubview(visualEffect)
        addSubview(buttonCancel)
        addSubview(background)

            views:views))
        addConstraints(NSLayoutConstraint.constraints(
            withVisualFormat:"V:|-95-[background]-95-|",
            options:[],
            metrics:metrics,
            views:views))
        addConstraints(NSLayoutConstraint.constraints(
            withVisualFormat:"V:|-0-[collectionView]-0-|",
            options:[],
            metrics:metrics,
            views:views))
