Merge branch 'bugfix/removeLayoutIfNeeded' into 'develop'

removed layoutifneeded

See merge request BPHV_MIPS/vds_ios!217
This commit is contained in:
Bruce, Matt R 2024-04-26 13:48:37 +00:00
commit 57a7628837
8 changed files with 2 additions and 14 deletions

View File

@ -114,13 +114,6 @@ open class SelectorBase: Control, SelectorControlable {
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.ß
open override func updateAccessibility() {
super.updateAccessibility()

View File

@ -344,7 +344,6 @@ open class BadgeIndicator: View {
label.isEnabled = isEnabled
label.sizeToFit()
setNeedsLayout()
layoutIfNeeded()
}
open override func updateAccessibility() {

View File

@ -84,7 +84,7 @@ final class BreadcrumbCellItem: UICollectionViewCell {
separator.textColor = textColorConfiguration.getColor(surface)
separator.isHidden = hideSlash
self.breadCrumbItem = breadCrumbItem
layoutIfNeeded()
setNeedsLayout()
}
}

View File

@ -230,7 +230,6 @@ open class Label: UILabel, ViewProtocol, UserInfoable {
setNeedsDisplay()
setNeedsLayout()
layoutIfNeeded()
}
open func updateAccessibility() {

View File

@ -231,7 +231,6 @@ open class RadioBoxItem: Control, Changeable, FormFieldable {
updateLabels()
setNeedsLayout()
layoutIfNeeded()
}
/// Used to update any Accessibility properties.

View File

@ -172,7 +172,6 @@ extension Tabs {
label.textAlignment = textAlignment.value
label.textColorConfiguration = textColorConfiguration.eraseToAnyColorable()
setNeedsLayout()
layoutIfNeeded()
}
/// Used to update any Accessibility properties.

View File

@ -403,7 +403,7 @@ open class Tilelet: TileContainerBase<Tilelet.Padding> {
if width != nil && (aspectRatio != .none || height != nil) {
updateTextPositionAlignment()
}
layoutIfNeeded()
setNeedsLayout()
}
/// Used to update any Accessibility properties.

View File

@ -228,7 +228,6 @@ open class ToggleView: Control, Changeable, FormFieldable {
knobTrailingConstraint?.isActive = true
knobLeadingConstraint?.isActive = true
setNeedsLayout()
layoutIfNeeded()
}
private func updateToggle() {