resolved drawing prob.

This commit is contained in:
Kevin G Christiano 2019-11-12 15:05:23 -05:00
parent d6005290db
commit 926c2c4cf3
2 changed files with 1 additions and 7 deletions

View File

@ -208,16 +208,12 @@ import UIKit
feedbackLabelTrailing = layoutMarginsGuide.trailingAnchor.constraint(equalTo: feedbackLabel.trailingAnchor)
feedbackLabelTrailing?.isActive = true
layoutMarginsGuide.bottomAnchor.constraint(equalTo: feedbackLabel.bottomAnchor).isActive = true
setNeedsDisplay()
layoutIfNeeded()
}
open override func layoutSubviews() {
super.layoutSubviews()
entryContainer.refreshUI()
setNeedsLayout()
}
/// Method to override.

View File

@ -68,7 +68,7 @@ import UIKit
if !hideBorder {
// Brings the other half of the line inside the view to prevent cropping.
let origin = frame.origin
let origin = bounds.origin
let size = frame.size
let insetLean: CGFloat = 0.5
borderPath.lineWidth = 1
@ -81,8 +81,6 @@ import UIKit
borderStrokeColor.setStroke()
borderPath.stroke()
}
layoutIfNeeded()
}
override open func setupView() {