remvoed layoutifneeded
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
e330f17474
commit
b83dc8c8a2
@ -114,13 +114,6 @@ open class SelectorBase: Control, SelectorControlable {
|
|||||||
accessibilityTraits = .button
|
accessibilityTraits = .button
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Used to make changes to the View based off a change events or from local properties.
|
|
||||||
open override func updateView() {
|
|
||||||
super.updateView()
|
|
||||||
setNeedsLayout()
|
|
||||||
layoutIfNeeded()
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Used to update any Accessibility properties.ß
|
/// Used to update any Accessibility properties.ß
|
||||||
open override func updateAccessibility() {
|
open override func updateAccessibility() {
|
||||||
super.updateAccessibility()
|
super.updateAccessibility()
|
||||||
|
|||||||
@ -344,7 +344,6 @@ open class BadgeIndicator: View {
|
|||||||
label.isEnabled = isEnabled
|
label.isEnabled = isEnabled
|
||||||
label.sizeToFit()
|
label.sizeToFit()
|
||||||
setNeedsLayout()
|
setNeedsLayout()
|
||||||
layoutIfNeeded()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
open override func updateAccessibility() {
|
open override func updateAccessibility() {
|
||||||
|
|||||||
@ -84,7 +84,7 @@ final class BreadcrumbCellItem: UICollectionViewCell {
|
|||||||
separator.textColor = textColorConfiguration.getColor(surface)
|
separator.textColor = textColorConfiguration.getColor(surface)
|
||||||
separator.isHidden = hideSlash
|
separator.isHidden = hideSlash
|
||||||
self.breadCrumbItem = breadCrumbItem
|
self.breadCrumbItem = breadCrumbItem
|
||||||
layoutIfNeeded()
|
setNeedsLayout()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -230,7 +230,6 @@ open class Label: UILabel, ViewProtocol, UserInfoable {
|
|||||||
setNeedsDisplay()
|
setNeedsDisplay()
|
||||||
|
|
||||||
setNeedsLayout()
|
setNeedsLayout()
|
||||||
layoutIfNeeded()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
open func updateAccessibility() {
|
open func updateAccessibility() {
|
||||||
|
|||||||
@ -231,7 +231,6 @@ open class RadioBoxItem: Control, Changeable, FormFieldable {
|
|||||||
|
|
||||||
updateLabels()
|
updateLabels()
|
||||||
setNeedsLayout()
|
setNeedsLayout()
|
||||||
layoutIfNeeded()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Used to update any Accessibility properties.
|
/// Used to update any Accessibility properties.
|
||||||
|
|||||||
@ -172,7 +172,6 @@ extension Tabs {
|
|||||||
label.textAlignment = textAlignment.value
|
label.textAlignment = textAlignment.value
|
||||||
label.textColorConfiguration = textColorConfiguration.eraseToAnyColorable()
|
label.textColorConfiguration = textColorConfiguration.eraseToAnyColorable()
|
||||||
setNeedsLayout()
|
setNeedsLayout()
|
||||||
layoutIfNeeded()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Used to update any Accessibility properties.
|
/// Used to update any Accessibility properties.
|
||||||
|
|||||||
@ -403,7 +403,7 @@ open class Tilelet: TileContainerBase<Tilelet.Padding> {
|
|||||||
if width != nil && (aspectRatio != .none || height != nil) {
|
if width != nil && (aspectRatio != .none || height != nil) {
|
||||||
updateTextPositionAlignment()
|
updateTextPositionAlignment()
|
||||||
}
|
}
|
||||||
layoutIfNeeded()
|
setNeedsLayout()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Used to update any Accessibility properties.
|
/// Used to update any Accessibility properties.
|
||||||
|
|||||||
@ -228,7 +228,6 @@ open class ToggleView: Control, Changeable, FormFieldable {
|
|||||||
knobTrailingConstraint?.isActive = true
|
knobTrailingConstraint?.isActive = true
|
||||||
knobLeadingConstraint?.isActive = true
|
knobLeadingConstraint?.isActive = true
|
||||||
setNeedsLayout()
|
setNeedsLayout()
|
||||||
layoutIfNeeded()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private func updateToggle() {
|
private func updateToggle() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user