 
             label.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 8),
             label.trailingAnchor.constraint(equalTo: trailingAnchor, constant: -8),
-            labelTopAnchor,
+            labelTopConstraint,
             label.bottomAnchor.constraint(lessThanOrEqualTo: bottomAnchor, constant: -10)
         ])
     }

        addSubview(imageView)
        addSubview(label)

        labelTopAnchor = label.topAnchor.constraint(equalTo: imageView.bottomAnchor, constant: 2)

        NSLayoutConstraint.activate([
            imageView.bottomAnchor.constraint(equalTo: centerYAnchor, constant: 3),


    var increaseLabelTopPadding: Bool = false {
        didSet {
            labelTopConstraint.constant = increaseLabelTopPadding ? 8 : 2
            setNeedsLayout()
        }
    }

    private var imageDimension: CGFloat = 40
    private var labelTopConstraint: NSLayoutConstraint = NSLayoutConstraint()

    // MARK: - UI Elements

