Script control size fix
This commit is contained in:
@@ -43,8 +43,8 @@ class ScriptPolicyControl: UIControl
|
||||
denyButton.imageView?.contentMode = .scaleAspectFit
|
||||
}
|
||||
|
||||
override var intrinsicContentSize: CGSize {
|
||||
CGSize(width: 100.0, height: UIView.noIntrinsicMetric)
|
||||
override func sizeThatFits(_ size: CGSize) -> CGSize {
|
||||
return segmentContainer.sizeThatFits(size)
|
||||
}
|
||||
|
||||
override func layoutSubviews() {
|
||||
|
||||
Reference in New Issue
Block a user