Digital ACT-191 ONEAPP-9311 story: aligning text to center
This commit is contained in:
parent
4e88ee936a
commit
90eb01cb24
@ -143,6 +143,7 @@ open class InputStepper: EntryFieldBase {
|
||||
$0.textStyle = .boldBodyLarge
|
||||
$0.numberOfLines = 1
|
||||
$0.lineBreakMode = .byTruncatingTail
|
||||
$0.textAlignment = .center
|
||||
}
|
||||
|
||||
//--------------------------------------------------
|
||||
@ -234,7 +235,6 @@ open class InputStepper: EntryFieldBase {
|
||||
// Update stepper container border and corner radius.
|
||||
setControlWidth(controlWidth)
|
||||
updateControlWidthPercentage()
|
||||
|
||||
setNeedsLayout()
|
||||
}
|
||||
|
||||
@ -379,6 +379,5 @@ open class InputStepper: EntryFieldBase {
|
||||
updateControlWidthPercentage()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user