rearranged comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
6c4fb1c5ba
commit
d4e7d7476d
@ -315,14 +315,14 @@ open class InputStepper: EntryFieldBase<Int> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
internal override func updateContainerWidth() {
|
internal override func updateContainerWidth() {
|
||||||
|
//we are not calling super here since
|
||||||
|
//we are changing how the widths are getting calculated
|
||||||
|
//now by including a percentage.
|
||||||
|
|
||||||
defer {
|
defer {
|
||||||
fieldStackView.layer.cornerRadius = containerSize.height / 2
|
fieldStackView.layer.cornerRadius = containerSize.height / 2
|
||||||
}
|
}
|
||||||
|
|
||||||
//we are not calling super here since
|
|
||||||
//we are changing how the widths are getting calculated
|
|
||||||
//now by including a percentage.
|
|
||||||
stepperWidthConstraint?.deactivate()
|
stepperWidthConstraint?.deactivate()
|
||||||
widthConstraint?.deactivate()
|
widthConstraint?.deactivate()
|
||||||
trailingLessThanEqualsConstraint?.deactivate()
|
trailingLessThanEqualsConstraint?.deactivate()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user