set circular progress UI with a proper size.
This commit is contained in:
parent
fe5bd4a9ac
commit
3afafe3bd7
@ -41,7 +41,7 @@ import UIKit
|
|||||||
// MARK: setup
|
// MARK: setup
|
||||||
override open func setupView() {
|
override open func setupView() {
|
||||||
super.setupView()
|
super.setupView()
|
||||||
heightConstraint = heightAnchor.constraint(equalToConstant: 0)
|
heightConstraint = heightAnchor.constraint(equalToConstant: 2*viewWidth)
|
||||||
heightConstraint?.isActive = true
|
heightConstraint?.isActive = true
|
||||||
widthAnchor.constraint(equalTo: heightAnchor).isActive = true
|
widthAnchor.constraint(equalTo: heightAnchor).isActive = true
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user