Merge branch 'develop' into feature/MVAPCT-273
* develop: Digital PCT032 defect CXTDT-608227: Set content compression resistance for RadioButton.
This commit is contained in:
commit
f74d42f8bb
@ -79,6 +79,11 @@ import VDS
|
||||
//--------------------------------------------------
|
||||
open override func setup() {
|
||||
super.setup()
|
||||
|
||||
// Radio button should never be smaller that its content size.
|
||||
setContentCompressionResistancePriority(.required, for: .vertical)
|
||||
setContentCompressionResistancePriority(.required, for: .horizontal)
|
||||
|
||||
publisher(for: .valueChanged)
|
||||
.sink { [weak self] control in
|
||||
guard let self, isEnabled else { return }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user