 				labelHorizontalLayout += "-5-[" + label + "]"
 			}
 			if (labelArray.count > 0) {
-				self.view.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("H:|\(labelHorizontalLayout)->=50-|", options: [], metrics: nil, views: labelDictionary))
+				self.view.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("H:|\(labelHorizontalLayout)->=5-|", options: [], metrics: nil, views: labelDictionary))
 			}
 		}
 	}

		tags = nil
	}
}

				labelArray.append("label\(count)")
				let labelName = "label\(count)"
				labelDictionary[labelName] = label
				let constraintBottom = NSLayoutConstraint.init(item: label, attribute: .Top, relatedBy: .Equal, toItem: self.imageView, attribute: .Bottom, multiplier: 1, constant: 0)
				self.view.addConstraint(constraintBottom)
				count++
			}
			var labelHorizontalLayout = ""
